Public-Service Announcement from the HTML Elf

A note from the HTML Elf: If you open an HTML tag (in particular <a> and <blockquote> tags), you must close the tag! I am tired of fixing these issues. If you don’t know how to use the tags, don’t use them! Every HTML tag, save the line break tag, is opened in brackets, and closed by repeating the same tag prefaced by a slash (”/” character) enclosed in brackets.

Here’s an example of a properly-formatted HTML link:

<a href=”http://www.rjkoehler.com”>Link to the Marmot’s Hole</a>

Note the final </a> tag closing the link.

If you do not close the <a> tag, not only will your link not appear, but you will mung up all of the following comments and page elements.

This same error, made with the <blockquote> tag, leads to the screwy runaway comment nesting problem.

My guess is people are using the formatting buttons above the comment field. If so, take note of the rightmost button: “Close Tags”. This is the button to use to close any HTML tag you opened by use of the other buttons.

Again, I’ll keep fixing these errors when I see them, because I am a stickler for such things, but it would be simpler to avoid the need by commenters using proper HTML.

14 Comments

  1. Posted January 12, 2007 at 4:49 pm | Permalink

    Nazi.

  2. Posted January 12, 2007 at 5:19 pm | Permalink

    we better obey him, Andy — he’s a Lawyer, who knows what mayhem he’s capable of?

  3. Hatch SZ your flag
    Posted January 12, 2007 at 5:29 pm | Permalink

    From someone who has made such messups, thanks for the info. I know I am going to sound ignorant, but could you go through what what each formating button does?

    So we can all be sticklers together.

  4. Posted January 12, 2007 at 7:45 pm | Permalink

    Hatch SZ,

    str = strong, or bold
    em = emphasized/italics
    link = lets you insert a link
    b-quote =

    blockquote

    code = Defines computer code text
    strike = strikethrough
    lookup = lets you look up a word
    Close Tags = self explanatory

  5. Posted January 12, 2007 at 7:49 pm | Permalink

    Also, after you click on one of the formatting buttons, you might take a second look. The button’s legend will have changed. For example, click the “b-quote” (blockquote) button and note that it now reads “/b-quote” — if you press it again it will insert text to close the tag.

  6. Posted January 12, 2007 at 9:17 pm | Permalink

    If you a) highlight the text you want to link/bold/b-quote/etc., and then; b) click the appropriate button, the ending backslash will automatically be inserted (i.e. no need for the ‘close tags’ button if you do that).

  7. Posted January 12, 2007 at 9:27 pm | Permalink

    we better obey him, Andy — he’s a Lawyer, who knows what mayhem he’s capable of?

    Wait, ahh, isn’t Brendon one of those “unqualified” foreign lawyers, you know, like those unqualified foreign English teachers, made unqualified by virtue of having sex with Korean girls? It sure makes my skin crawl to think this unqualified foreign lawyer is out there polluting Korean women with his foul foreign seed.

    :)

  8. estebanko your flag
    Posted January 12, 2007 at 10:40 pm | Permalink

    Possible solutions to this problem: Create a preview function & Use script like this: http://www.dagondesign.com/art.....wordpress/

  9. seouldout your flag
    Posted January 12, 2007 at 11:03 pm | Permalink

    Estebanko, good recommendation and a solution. Nice job.

  10. Hatch SZ your flag
    Posted January 13, 2007 at 1:31 am | Permalink

    thanks for the info, Nomad and others.

  11. Uri Onara your flag
    Posted January 13, 2007 at 3:18 pm | Permalink

    How do I get an avatar and change the flag to the country I live in (Japan; I have never been to Australia)?

  12. Posted January 13, 2007 at 11:53 pm | Permalink

    Well, to get a pretty avatar, you need to go to Gravatar.com and sign up.

    As for the flag, it follows whatever your IP is. If you’re using a proxy, that might be why it shows up the country that is does.

  13. Uri Onara your flag
    Posted January 14, 2007 at 10:31 pm | Permalink

    Thanks. I was afraid of that — Gravatar is under construction right now so I guess I’ll have to wait. My IP is NTT so that flag is kind of unexpected.

  14. dda your flag
    Posted January 15, 2007 at 5:02 am | Permalink

    Uri Onara: yeah your IP is indeed a Japanese one. I guess the code displaying is faulty – or the IP database behind it. Your IP is assigned to APNIC, whose HQ is in Milton, Queensland, AU – however digging a bit further shows this range is assigned to JPNIC, which assigned it to NTT – and your IP seems to be in Saitama-ken. So bug alert here :-)

Post a Comment

You must be logged in to post a comment.