|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have been using the W3 validator (http://validator.w3.org/) to clean up my code and got rid of all but two problems:
I have been through all my code to try and find the problems. I finally ended up with the following which still fails: Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Not W3 Validated</title> </head> <body> Hello </body> </html> Please can somebody let me know what's wring with this? ![]() |
|
#2
|
|||
|
|||
|
... or alternatively, you could let me know what is wrong with this!
![]() |
|
#3
|
||||
|
||||
|
frames
Hi Micster, welcome to the forums,
W3c validation errors are easy to understand once you understand them. ![]() You are using DOCTYPE "frameset", but you don't have any frames. If you want to use frames the correct page structure is someting like Code:
<html>
<head>
<title>...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="140,*" cols="160,*" frameborder="NO" border="0" framespacing="0">
<frame name="..." scrolling="NO" noresize src="..." >
<frameset rows="75,*" frameborder="NO" border="0" framespacing="0" cols="*">
<frame name="..." scrolling="NO" noresize src="..." >
<frame name="..." scrolling="NO" noresize src="..." >
</frameset>
<frame name="..." scrolling="YES" noresize src="...">
<frame name="..." src="...">
</frameset>
<noframes>...</noframes>
</html>
|
|
#4
|
|||
|
|||
|
Changing the DocType worked
Thanks Mittineague, a simple change to the correct doctype and...
"This Page Is Valid HTML 4.01 Transitional" Yipee! [Now all I need to do is work up the strength to correct the 30+ errors I have on each page when validating as strict, but that can wait for another day.] |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > W3 Validation Failing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|