472,146 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,146 software developers and data experts.

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 1484
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.