Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Image Tag in XHTML
- Grant Smith - eNVENT Technolog
May 4, 2005, 4:27 am
Re: Image Tag in XHTML
Strict HTML 4.01 and Strich XHTML 1.0 do not allow text level content
(which includes <img>) as the immediate child of certain elements
(e.g. body, blockquote and form). You need to have an intermediate
layer block level element.
You've fallen into a common trap. You've moved from HTML Transitional
to XHTML Strict and assumed that the issues you've encountered are
HTML/XHTML issues when in fact they are Transitional/Strict issues.
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor