Outline ·
[ Standard ] ·
Linear+
How to use the validator ?, http://validator.w3.org/
|
TSxeno
|
Aug 4 2006, 05:24 PM, updated 20y ago
|
|
http://validator.w3.org/I had try and reading the faqs but i can't seem to get a correct result after the validation. What code i need to add in to be able to valid it ? Can someone explan more what does the validator do ?
|
|
|
|
|
|
[the][matrix]
|
Aug 4 2006, 08:23 PM
|
|
this validator is to validate the css and html content inside of ur website.. er.. these the only info i know.. i think wiki knows a little bit about them.. just register ur website url to validate.. u can surf some of css valid sites here.. happy cssing.. This post has been edited by [the][matrix]: Aug 4 2006, 08:24 PM
|
|
|
|
|
|
TSxeno
|
Aug 4 2006, 10:14 PM
|
|
Thanks just i am wondering what should i add. I paste this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <META http-equiv=Content-Type content="text/html; charset=utf-8">
and i get error 'This page is not Valid HTML 4.0 Transitional!'
|
|
|
|
|
|
crynobone
|
Aug 4 2006, 10:47 PM
|
|
The DOCTYPE should be. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Of course you at least need to have complete HTML file not just some part of it. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title></title></head> <body></body> </html>
|
|
|
|
|
|
TSxeno
|
Aug 5 2006, 02:11 AM
|
|
QUOTE(crynobone @ Aug 4 2006, 10:47 PM) The DOCTYPE should be. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Of course you at least need to have complete HTML file not just some part of it. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title></title></head> <body></body> </html> Thanks a lot for the doctype.  , some of the .html i upload having error and it didn't show the specific error type.It's the coding error but the page display correctly.
|
|
|
|
|
|
etsuko
|
Aug 6 2006, 08:24 PM
|
Spaced out person
|
whether the page display correctly or not isn't anything important if you really want to validate your website..
validating a website means that you're using correct code..means it's standards compliant.
most websites can't validate but display properly and that's not what people are aiming for if they're planning to validate their website.
|
|
|
|
|
|
TSxeno
|
Aug 12 2006, 02:31 PM
|
|
QUOTE(crynobone @ Aug 4 2006, 10:47 PM) The DOCTYPE should be. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Of course you at least need to have complete HTML file not just some part of it. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title></title></head> <body></body> </html> After i put the meta <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> I still getting error(This page is not Valid HTML 4.01 Transitional!) How do i know what meta i need to use ? I code my web page using CSS and Html only. Hope someone would help me. Attached thumbnail(s)
|
|
|
|
|
|
TSxeno
|
Aug 12 2006, 02:32 PM
|
|
QUOTE(crynobone @ Aug 4 2006, 10:47 PM) The DOCTYPE should be. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Of course you at least need to have complete HTML file not just some part of it. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title></title></head> <body></body> </html> After i put the meta <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> I still getting error(This page is not Valid HTML 4.01 Transitional!) How do i know what meta i need to use ? I code my web page using CSS and Html only. Hope someone would help me. Attached thumbnail(s)
|
|
|
|
|
|
etsuko
|
Aug 12 2006, 09:38 PM
|
Spaced out person
|
You forgot to close your DIV tag for the Class property "centerbox"? it'll be less headache if we could see the code.. but you can try closing the open DIV first.
|
|
|
|
|