[WSG] xhtml DTD
hya I use this W3C document as a reference to know which tag may go inside other: http://www.w3.org/TR/1999/xhtml-modularization-19990406/DTD/doc/xhtml1-t.elt.html I never found nothing else like that (such a DTD visual representation), but what I want to know is: is it the latest version ? how may I know that ? I checked today to answer a question about tags inside LI , and found by this very document, you may use any H tags , but H1 . Would it be a typo ? http://www.w3.org/TR/1999/xhtml-modularization-19990406/DTD/doc/xhtml1-t.elt.html#li thank you -- [web] http://synapsisdi.com.br [livesets] http://djspark.com.br ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] xhtml DTD
Spark wrote: I use this W3C document as a reference to know which tag may go inside other: http://www.w3.org/TR/1999/xhtml-modularization-19990406/DTD/doc/xhtml1-t.elt.html I never found nothing else like that (such a DTD visual representation), but what I want to know is: is it the latest version? No, it's not. how may I know that ? If you go to the beginning of the spec (remove the /DTD/... from the URI). http://www.w3.org/TR/1999/xhtml-modularization-19990406/ Read the status and you'll see that it's an old working draft and that the latest version can be found at http://www.w3.org/TR/xhtml-modularization/ Specifically, I believe this is the closest to what you're looking for. http://www.w3.org/TR/xhtml-modularization/abstract_modules.html However, may I ask what your reason for choosing XHTML is? If you're simply looking for a good reference for elements and their content models, the index of elements in HTML4 is more suitable for most authors. http://www.w3.org/TR/html401/index/elements.html I checked today to answer a question about tags inside LI , and found by this very document, you may use any H tags , but H1 . Would it be a typo ? http://www.w3.org/TR/1999/xhtml-modularization-19990406/DTD/doc/xhtml1-t.elt.html#li Yes, it would be. There is no h element in XHTML 1.x. -- Lachlan Hunt http://lachy.id.au/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] xhtml DTD
hi, On 12/22/05, Lachlan Hunt [EMAIL PROTECTED] wrote: Spark wrote: I use this W3C document as a reference to know which tag may go inside other: http://www.w3.org/TR/1999/xhtml-modularization-19990406/DTD/doc/xhtml1-t.elt.html I never found nothing else like that (such a DTD visual representation), but what I want to know is: is it the latest version? No, it's not. how may I know that ? If you go to the beginning of the spec (remove the /DTD/... from the URI). http://www.w3.org/TR/1999/xhtml-modularization-19990406/ Read the status and you'll see that it's an old working draft and that the latest version can be found at http://www.w3.org/TR/xhtml-modularization/ Yeah, i found that when i first tried, but could not found the *same* document. If you compare both, you might notice the older one is quite easier to read and understand at first sight. But actually, reading it more closely , i could understand better the conventions used there. thank you. However, may I ask what your reason for choosing XHTML is? If you're simply looking for a good reference for elements and their content models, the index of elements in HTML4 is more suitable for most authors. http://www.w3.org/TR/html401/index/elements.html Although is a useful list, it's not good for what I pointed: knowing what can go inside what. Like can I put a Heading tag inside a DT? (no) , or can a put an A here in the BODY ? (no , you can't). Does anyone have any suggestion ? Might be some page outside W3C (since the standards move quite slowly, i may use them for a few years :) Yes, it would be. There is no h element in XHTML 1.x. of course not, but it could be used as an alias for a heading tag , like Hx . Thank you, lachlan Spark! -- [web] http://synapsisdi.com.br [livesets] http://djspark.com.br ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] xhtml DTD
Spark wrote: http://www.w3.org/TR/html401/index/elements.html Although is a useful list, it's not good for what I pointed: knowing what can go inside what. Like can I put a Heading tag inside a DT? (no) , or can a put an A here in the BODY ? (no , you can't). Does anyone have any suggestion ? Might be some page outside W3C (since the standards move quite slowly, i may use them for a few years :) http://www.zvon.org/xxl/xhtmlReference/Output/index.html Or the download version: http://www.zvon.org/download2.php/xhtmlReference?title=XHTML+Reference Regards -- Bert Doorn, Better Web Design http://www.betterwebdesign.com.au/ Fast-loading, user-friendly websites ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **