Markup Validation Service

liunx

Guest
argh...i just cannot vaild my site with XHTML1.1<br />
<br />
Anyone got valuable advice to give me so i can vaild my site with it? I have already taken care very well to match with it but i can't seem to do it. Thank for reading my post.<!--content-->Could you provide us with a link so that we could better assist you? We aren't, afterall, psychics. Always make sure to provide a proper DTD and charset. Such should be the basic starting code:<br />
<br />
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><br />
<head><br />
<title></title><br />
</head><br />
<body><br />
<br />
</body><br />
</html><br />
<br />
<br />
Of course remember to properly nest code so that you close tags as you open them. And ALL styling is to be done with CSS. No presentational markup! But like I said, a link would be a lot more beneficial.<!--content-->Ops. Sorry. I have say so much and i forget to tell you the URL. The URL is <!-- m --><a class="postlink" href="http://www.tanfwc.com">http://www.tanfwc.com</a><!-- m --><!--content-->In XHTML, all tags must be lowercase and all attributes must be quoted, plus there are several other rules not present in HTML 4.01. Check out this document: <!-- m --><a class="postlink" href="http://slackerhtml.tripod.com/xhtml/rules.html">http://slackerhtml.tripod.com/xhtml/rules.html</a><!-- m --><br />
<br />
You might find it easier to switch to a less strict doctype, or use a tool such as HTML Tidy to speed up converting the site.<br />
<br />
Adam<!--content-->one more qns, among all those XHTML, HTML, which is the a better and not so strict validation<!--content-->The least strict doctype you can really get away with is HTML 4.01 Transitional, which contains lots of deprecated features to allow older sites to move up to the HTML 4.01 standard. For new sites, however, XHTML is quickly becoming the standard, even though (or perhaps because) it is much stricter.<br />
<br />
Adam<!--content-->Originally posted by AdamGundry <br />
The least strict doctype you can really get away with is HTML 4.01 Transitional, which contains lots of deprecated features to allow older sites to move up to the HTML 4.01 standard. For new sites, however, XHTML is quickly becoming the standard, even though (or perhaps because) it is much stricter.<br />
<br />
Adam <br />
<br />
i have successfully meet the requirement by html 4.01, very tired changing all those codes and now then i know i do have a mess website coding. Anyway, thank you for the help. I may want to move to xhtml is there is not much problem later. Going to hang on at html 4.01 first. Nite nite<!--content-->
 
Back
Top