Question:

How do I properly close these HTML tags? ?

by  |  earlier

0 LIKES UnLike

{{{{{ <BR><a href=http://www.coolmyspacecomments.com>... src=http://i238.photobucket.com/albums/f... title="MySpace Comment Codes" border=0></a><br><a href='http://www.coolmyspacecomments.com... }}}

---<BR><a href=http://www.coolmyspacecomments.com>... src=http://i238.photobucket.com/albums/f... title="MySpace Comment Codes" border=0></a><br><a href='http://www.coolmyspacecomments.com...

 Tags:

   Report

4 ANSWERS


  1. br is self closing - a slash before the last bracket - /&gt;

    &lt;a&gt; &lt;/a&gt;

    It&#039;s all cut up, but if you have an &lt;img tag, it&#039;s closed by a /&gt; at the end - &lt;img src=&quot;foo&quot; bar /&gt;.


  2. All tags should be lowercase:

    &lt;BR&gt; should be &lt;br&gt;

    All tags should be closed.  Your anchors are properly closed with the &lt;/a&gt; but your &lt;br&gt; isn&#039;t closed.  To properly close a &lt;br&gt; tag you should put a space and a / after br like this:

    [br /]

    (replace the [ and ] with &lt; and &gt;, it won&#039;t display on Yahoo Answers if I had used &lt; and &gt;)

    [edit] Go here and scroll down to &quot;Empty Elements Must Also Be Closed&quot; to see a better description:

    http://www.w3schools.com/xhtml/xhtml_htm...

  3. to close a tag just stick a / in it. e.g &lt;html&gt; &lt;/html&gt;

    and before &lt;/a&gt;, but after &gt; you need to write something so you are able yo see the hyperlink

  4. thats not HTML

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.