|
Posted by Andy Dingley on 12/14/22 11:48
SEOSpecialist wrote:
> > <img src="theImage.jpg">
>
> In addition to David's comment, may I also point out that with the
> advent of XHTML (been around for a fair while now) you should also be
> closing the tag.
No, you shouldn't. It's only appropriate to close the tag if you're
attempting to _be_ XML, not just because you're following the latest
fashions.
Equally the minimized boolean attribute form
<option selected>
rather than
<option selected="selected" >
isn't deprecated either.
Enforce lowercase tag names and quoted attributes if you like --
they're perfectly permitted under SGML/HTML rules. However closing
empty tags in HTML (like <img>) is not just unnecessary, it's actually
_wrong_.
Navigation:
[Reply to this message]
|