Jump to content

<img name=....> not XHTML?


extrovertive

Recommended Posts

using id is perfectly legitimate in XHTML. this is actually the easiest way to reference an img tag, however, like daniel0 shows in his example, you've got to make your images self-closing tags. the other problem that you might be facing (that daniel0 doesn't show) is that for valid XHTML, you also must have an alt attribute, even if it is empty.
Link to comment
https://forums.phpfreaks.com/topic/16688-not-xhtml/#findComment-70718
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.