|
Posted by Jonathan N. Little on 10/16/06 01:36
Steve wrote:
> | I almost forgot it: your code is missing a doctype...
>
> good for you...it's not required.
>
> | >> <html>
> | >>
> | >> missing a <head> and a <title> here...
> | >
> | > neither <head> nor <title> are required.
> |
> | No, <head> isn't, but <title> is.
>
> title is NOT required. learn w3c html 101 and get a fucking life...as well
> as a fucking clue.
<snip rest of flame...>
Whow guys, count to ten, take deep breaths or something! Just for
clarification in 4.01 strict the HTML, HEAD and BODY elements are all
optional
http://www.w3.org/TR/html4/struct/global.html#edef-HTML
http://www.w3.org/TR/html4/struct/global.html#edef-HEAD
http://www.w3.org/TR/html4/struct/global.html#edef-BODY
However if you use a TITLE, both opening and closing tag are required
and is to be within the HEAD.
http://www.w3.org/TR/html4/struct/global.html#edef-TITLE
With SCRIPT element the TYPE attribute _is_ required
http://www.w3.org/TR/html4/interact/scripts.html#edef-SCRIPT
and LANGUAGE is _deprecated_.
Now for the IMG the ALT attribute _is_ required
http://www.w3.org/TR/html4/struct/objects.html#edef-IMG
http://www.w3.org/TR/html4/struct/objects.html#adef-alt
Your page will not explode if you leave it off, but it is an error...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|