Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 How to use the validator ?, http://validator.w3.org/

views
     
TSxeno
post Aug 4 2006, 05:24 PM, updated 20y ago

Enthusiast
*****
Senior Member
938 posts

Joined: Jan 2003


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]
post Aug 4 2006, 08:23 PM

ancient and still alive
******
Senior Member
1,170 posts

Joined: Jan 2003



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
post Aug 4 2006, 10:14 PM

Enthusiast
*****
Senior Member
938 posts

Joined: Jan 2003


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
post Aug 4 2006, 10:47 PM

1'm n0t @ n00b n0t y3t @ 1337
*******
Senior Member
2,811 posts

Joined: Jan 2003
From: Somewhere in middle earth


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
post Aug 5 2006, 02:11 AM

Enthusiast
*****
Senior Member
938 posts

Joined: Jan 2003


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. smile.gif , 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
post Aug 6 2006, 08:24 PM

Spaced out person
Group Icon
Elite
4,210 posts

Joined: Jan 2003
From: Malaysia


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
post Aug 12 2006, 02:31 PM

Enthusiast
*****
Senior Member
938 posts

Joined: Jan 2003


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)
Attached Image
TSxeno
post Aug 12 2006, 02:32 PM

Enthusiast
*****
Senior Member
938 posts

Joined: Jan 2003


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)
Attached Image
etsuko
post Aug 12 2006, 09:38 PM

Spaced out person
Group Icon
Elite
4,210 posts

Joined: Jan 2003
From: Malaysia


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. smile.gif

 

Change to:
| Lo-Fi Version
0.0134sec    0.41    6 queries    GZIP Disabled
Time is now: 29th November 2025 - 07:52 AM