Advertisement

04.20.2008 at 10:42AM PDT, ID: 23337923
[x]
Attachment Details

question 4.01 strict validation question

Asked by djmichaelray in Extensible HTML (XHTML), Hypertext Markup Language (HTML)

Tags: html, xhtml, Java Script, Frameset, safari, i.e, firefox, www.cameronvanhoy.net

Okay im really lost here

I reasearched that 4.01 strict is the best to use for standard html webpages.

Everytime i add the littlest bit of code to the page, the w3 vailidator no longer validates the page and give me back 17 errors.

WHY?

the code is below its really easy code.

can i use div tags in 4.01?
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<div align="center">
<img src="http://www.cameronvanhoy.net/cam.gif" alt="http://www.cameronvanhoy.net/cam.gif" />
</div>
<div align="center">
<embed src="http://www.jeroenwijering.com/embed/player.swf" width="720" height="480" allowscriptaccess="always"file=http://www.cameronvanhoy.net/vids/webpagedemo.flv&searchbar=false&showicons=false&shownavigation=false&showdigits=false&autostart=true"/>
</div>
<p></p>
</body>
</html>
[+][-]04.20.2008 at 11:17AM PDT, ID: 21397059

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Extensible HTML (XHTML), Hypertext Markup Language (HTML)
Tags: html, xhtml, Java Script, Frameset, safari, i.e, firefox, www.cameronvanhoy.net
Sign Up Now!
Solution Provided By: Xyptilon2
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.20.2008 at 11:17AM PDT, ID: 21397061

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2008 at 11:22AM PDT, ID: 21397081

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628