View Full Version : "This page is not Valid XHTML 1.0 Transitional!"
kenzie
June 7th, 2007, 09:37 PM
http://validator.w3.org/check?uri=http%3A%2F%2Fpimpmyprofile.ws%2F&charset=%28detect+automatically%29&doctype=Inline
Does anyone know how to fix the errors? I know it has the help stuff but I have no idea what it means. :s
http://www.pimpmyprofile.ws/ (yes I know none of the links work except the generators and it looks best in firefox)
I have some noobish questions. :P
Do title tags on links make a difference? I just added them and I'm not sure if it was worth it. Do alt tags make a difference too?
Thanks! :clap:
fapsian
June 7th, 2007, 09:40 PM
On that site, even if you try to validate google.com, it gives you more errors than your site. lol
Either that site is BS or buggy.
minnseoelite
June 7th, 2007, 09:43 PM
Alt tags make a difference on image based sites like msrs sites because search engines cannot "see" images....also if you have an Alt tag and the image is missing or not displaying your user will see the Alt text rather than a red x or blank spot
Link title tags do not really matter as long as you use proper anchor text.
myspaceprodesigns
June 7th, 2007, 09:43 PM
1. use styles on your elements
instead of width="300", use style="width:300px"
for body margin and padding, put this in your stylesheet:
body{margin:0;padding:0}
2. you're leaving off end tags. for images, in XHTML, <img src="url" alt="alt" /> is proper, not <img src="url" alt="alt">
3. you can only use an id once on a page. if a block element needs to appear more than once, use a css class:
#container <-- that's an id
.container <-- that'a a class
4. i would strongly recommend that you don't use deprecated elements like <center>, <b>, etc.
5. you forgot to close off your body tag at the end of your document with </body>. that goes right before </html>
kenzie
June 7th, 2007, 09:44 PM
Alt tags make a difference on image based sites like msrs sites because search engines cannot "see" images....also if you have an Alt tag and the image is missing or not displaying your user will see the Alt text rather than a red x or blank spot
Link title tags do not really matter as long as you use proper anchor text.
Thanks! :biggrin: I tried to give you green rep but it wouldn't let me.
minnseoelite
June 7th, 2007, 09:47 PM
No problem.....lol and I think I am good on the rep for now :P
kenzie
June 7th, 2007, 09:49 PM
1. use styles on your elements
instead of width="300", use style="width:300px"
for body margin and padding, put this in your stylesheet:
body{margin:0;padding:0}
2. you're leaving off end tags. for images, in XHTML, <img src="url" alt="alt" /> is proper, not <img src="url" alt="alt">
3. you can only use an id once on a page. if a block element needs to appear more than once, use a css class:
#container <-- that's an id
.container <-- that'a a class
4. i would strongly recommend that you don't use deprecated elements like <center>, <b>, etc.
5. you forgot to close off your body tag at the end of your document with </body>. that goes right before </html>
Thanks! Its only 12 errors now. :) I still have some more to change but that helps a lot. :)
omen
June 7th, 2007, 10:05 PM
In your stylesheet try this to get rid of the body validation errors.
body {
margin:0;
}
instead of having <body leftmargin="0" ... > etc
myspaceprodesigns
June 7th, 2007, 10:12 PM
Thanks! Its only 12 errors now. :) I still have some more to change but that helps a lot. :)
glad it helps! i'm a sucker for validation :chef:
kenzie
June 7th, 2007, 10:14 PM
In your stylesheet try this to get rid of the body validation errors.
body {
margin:0;
}
instead of having <body leftmargin="0" ... > etc
Thanks Omen. :)
This Page Is Valid XHTML 1.0 Transitional!
Tip Of The Day:
GIF or PNG
The document located at <http://pimpmyprofile.ws/> was checked and found to be valid XHTML 1.0 Transitional. This means that the resource in question identified itself as "XHTML 1.0 Transitional" and that we successfully performed a formal validation using an SGML or XML Parser (depending on the markup language used).
Valid XHTML 1.0 Transitional To show your readers that you have taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the HTML you could use to add this icon to your Web page:
<p>
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10"
alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
</p>
If you like, you can download a copy of this image (in PNG or GIF format) to keep in your local web directory, and change the HTML fragment above to reference your local image rather than the one on this server.
A full list of icons, with links to alternate formats and colors, is also available.
If you use CSS in your document, you should also check it for validity using the W3C CSS Validation Service.
If you would like to create a link to this page (i.e., this validation result) to make it easier to revalidate this page in the future or to allow others to validate your page, the URI is <http://validator.w3.org/check?uri=http%3A%2F%2Fpimpmyprofile.ws%2F> (or you can just add the current page to your bookmarks or hotlist).
:clap::clap::clap:
omen
June 7th, 2007, 10:17 PM
Try setting a stylesheet <table class="tableclass">
then setting the width and height in the stylesheet like so
.tableclass {
width:800px;
height:400px;
}
carlee
June 8th, 2007, 05:23 AM
On that site, even if you try to validate google.com, it gives you more errors than your site. lol
Either that site is BS or buggy.
Google is VERY badly coded; it's not the validator's fault. ;) The source code looks like some newb did it. =\
Do title tags on links make a difference? I just added them and I'm not sure if it was worth it. Do alt tags make a difference too?
Attributes, not tags: tags are like <tag />, attributes are like <tag attribute="attribute" />
kenzie
June 8th, 2007, 06:24 AM
Google is VERY badly coded; it's not the validator's fault. ;) The source code looks like some newb did it. =\
Attributes, not tags: tags are like <tag />, attributes are like <tag attribute="attribute" />
Oops! Thats just how much I know about this.
Jordan
June 8th, 2007, 06:48 AM
It's coming up with just one error for me now... if you state the columns (cols="whatever") for a textarea you have to state the rows as well - or vice versa. I also noticed you have style attributes for a textarea...those should be turned into a css class or id instead. You could also integrate the width/height of the textarea into that so you wouldn't need the rows or cols attributes.
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.