Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 31, 2005, 1:58 pm
rate this thread
Re: A HTML document can be converted to XHTML document.
>A HTML document can be converted to XHTML document.
Correct. Though often it isn't worth it.
>one step is:'Un-minimize' minimized attributes
>What does the step mean in easy english?...@@.
>I mean what operations I should do on the attributes?
If you have a boolean attribute such as readonly you must specify it
If you have an attribute that takes keywords as values then in HTML
you can use the keywords alone (e.g. <td valign="top" align="center">
can be written as <td top center>) in HTML - browser support is
another matter - but must be written in full in XHTML.
If you are trying to write a parser to convert from HTML to XHTML then
you will need to change both types accordingly. Hence the parser will
need knowledge of the different attributes, either by parsing a DTD or
by having them hard coded.
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
- » what is the mechanism of "IE" and "Firefox 1.0" to parse HTML file
- — Previous thread in » HTML Authoring Forum