469,319 Members | 2,287 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,319 developers. It's quick & easy.

A HTML document can be converted to XHTML document.

regards:

A HTML document can be converted to XHTML document.

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?

Any suggestion is welcome.

thank you
May goodness be with you all
Jul 23 '05 #1
1 1428
s9*****@mail.yzu.edu.tw (mike) wrote:
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?


See http://www.w3.org/TR/xhtml1/#h-4.5

If you have a boolean attribute such as readonly you must specify it
as readonly="readonly"

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.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by John Resler | last post: by
4 posts views Thread by Geoff Wilkins | last post: by
10 posts views Thread by st4 | last post: by
5 posts views Thread by Philip Townsend | last post: by
11 posts views Thread by Craig Francis | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.