Why and how of XHTML pages for your website
Working on making an XHTML1.0 compliant version
WHY
In Simple words (Complex version is here)It is very easy to develop new markups in XML. That is also a problem as we can very quickly have a lot of markups that do not work well with each other. XHTML is like a centralised repository so that people do not step on each other toes.
The most basic rule is never leave a open html tag. whenever you make a change in the html page through browser FRONTPAGE is notorious... and Mozilla is ok ok (I use mozilla and found it is workable at least)Still with mozilla I found after editing pages .. you should check these things
1) Closing tags for link gets lost
2)
does not have a closing use
whenver you want a small break as
behave differently in Moz and in IE
3) have a closing
4)
not having a closing
5) Even after doing all this if you pass your html page through validator it will say "Tentatively passed validation " Here you have to add the encoding parameter like the one below
at top of the html source code and things should be fine.
Now you can add the XHTML icon as proof of all the care you took to make your pages XHTML compliant.
(Pain in the ass sometimes BUT for a person who works for interoperability and tech integration His own site HAS to be XHTML compliant. Charity begins at home as they say... )

0 Comments:
Post a Comment
<< Home