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 ?
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!'
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.
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

 

Change to:
| Lo-Fi Version
0.0171sec    0.20    7 queries    GZIP Disabled
Time is now: 30th November 2025 - 01:03 PM