G'day
Is there anything wrong with closing meta tags like so:
<meta name="keywords" content="Web, Development, Design, Hosting, Ecommerce, IT, Consultancy, Logos, Logo, Websites">
</meta>
I was wondering if there was actually anything wrong with closing it in a separate closing tag.
http://www.w3.org/TR/html4/index/elements.html
Scroll down to META. Look at the third column (which is for End Tag). It says "F", which means FORBIDDEN. It is also an "empty" element, just like IMG, INPUT, BR, HR (to mention a few obvious ones).
http://www.w3.org/TR/xhtml1/#C_2 says:
Include a space before the trailing / and > of empty elements, e.g. <br />, <hr /> and <img src="karen.jpg" alt="Karen" />. Also, use the minimized tag syntax for empty elements, e.g. <br />, as the alternative syntax <br></br> allowed by XML gives uncertain results in many existing user agents.
So yes, I'd say there is something wrong with <meta ... ></meta>, just like there is with <br></br> and <img ...></img>
HTH -- Bert Doorn, Better Web Design http://www.betterwebdesign.com.au/ Fast-loading, user-friendly websites
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
