Recent Posts


HTML Tags used in Comments

Commenters can use some limited html code to make comments more readable, thank you.

Codes that work:
To quote: <blockquote> Quote </blockquote>

To get courier font:  <code>monospace blether</code> => monospace blether

A numbered list

<ol>
<li>A Numbered list</li>
<li>something</li>
<li>something</li>
<li>something</li>
</ol>

<ul>
<li>A bullet point list</li>
<li>something</li>
<li>something</li>
<li>something</li>
</ul>

Codes that don’t work
To indent: <p style=”padding-left: 40px;”>To indent</p>

I’m grateful if readers who discover other codes can list them below.

 

 

 

10 out of 10 based on 1 rating

2 comments to HTML Tags used in Comments

  • #

    Testing the html codes.

    Testing the indent code (doesn’t work).
    <p style=”padding-left: 40px;”>To indent</p>

    To indent

    Testing the ordered list code.

    <ol>
    <li>A Numbered list</li>
    <li>something</li>
    <li>something</li>
    <li>something</li>
    </ol>

    1. A Numbered list does not generate numbers but it does indent
    2. something
    3. something
    4. something

    Testing the unordered list code:
    <ul>
    <li>An unordered list</li>
    <li>something</li>
    <li>something</li>
    <li>something</li>
    </ul>

    • A Bullet point list doesnt generate bullet points and it does not indent
    • something
    • something
    • something

    00

    • #

      To display literal HTML so people can see what we are doing without activating it, we must escape the HTML inside the angle brackets.

      For example, to show the code tag itself, we must type:

      &lt;code&gt;

      How to show code safely in comments

      HTML uses angle brackets as instructions. To discuss code without activating it, we must escape these characters.

      LESS-THAN sign becomes &lt;
      GREATER-THAN sign becomes &gt;

      But if you want others to copy the safe version (so it stays inert when pasted), you must escape the ampersand too.

      Example — to show the code tag safely:

      &lt;code&gt;

      This will display:

      <code>

      and can be copied without triggering HTML.

      Posting code?
      Use < instead of the less-than sign.
      To show the escape itself, use &lt;.

      00

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>