Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-10-2006, 01:30 AM   PM User | #1
BYS2
New to the CF scene

 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
BYS2 is an unknown quantity at this point
HTML 4.01 DTD error?

there is something i cannot make sense of in the DTD for the HTML 4.01 specs (all three doctypes).

For the head element, the dtd is as follows:

<!-- %head.misc; defined earlier on as "SCRIPT|STYLE|META|LINK|OBJECT" -->
<!ENTITY % head.content "TITLE & BASE?">

<!ELEMENT HEAD O O (%head.content; ) +(%head.misc; ) -- document head -->
<!ATTLIST HEAD
%i18n; -- lang, dir --
profile %URI; #IMPLIED -- named dictionary of meta info --
>


the part that does not seem to make sense is this:

<!ELEMENT HEAD O O (%head.content; ) +(%head.misc; ) -- document head -->


shouldn't there be an '+' (addition) symbol after the '(%head.misc; )' parameter entity? %head.misc is defined as "SCRIPT|STYLE|META|LINK|OBJECT" and i am sure that we can have multiple scripts, styles, metas etc. elements in the head.

thanks

Last edited by BYS2; 05-10-2006 at 01:32 AM..
BYS2 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:07 AM.


Advertisement
Log in to turn off these ads.