• I’m trying to comment out code on a page. I’ve looked at
    https://codex.www.ads-software.com/Commenting_Code
    but these methods didn’t work.

    For instance, I want to temporarily remove a table:
    <table style=”height: 156px; text-align: left;” border=”0″ cellpadding=”8″ width=”595″>
    <tbody>
    <tr>
    <td style=”border: 1px solid #b8c0b5; background-color: #e6e6de;”><span style=”font-size: medium;”>Foo</span></p>
    <div>
    <p style=”text-align: left;”>StuffBar</p>
    </div>
    </td>
    </tr>
    </tbody>
    </table>

    If I put in the usual <!– before the table and –> after, all the HTML after the <!– disappears from the rendered page (what a visitor sees) except for the –>, which is displayed to site visitors. I’ve tried commenting out each line of code but it still didn’t work. I’ve also tried using // and /*.

    This is on a page, not in a comment, theme, or style sheet. The site is https://www.rlweiner.com

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How do I comment out HTML code’ is closed to new replies.