xhtml strict problem

J

Johannes Koch

sionvalais said:
I converted my website to xhtml strict, but it won't be validated. Can
anyone tell me what is wrong?

http://www.sionvalais.com/zermatt.php

A validator has probably told you. Here are some of the errors:

1. Line 6, column 40: there is no attribute "CONTENT" (explain...).
<meta http-equiv="imagetoolbar" CONTENT="no" />

In XHTML, element and attribute names are lower-case.

3. Line 34, column 38: there is no attribute "language" (explain...).
<div id="sionvalais"><script language="Javascript"
src="js/menu.js"></script>

In XHTML 1.0 Strict, there is no language attribute on the script element.

4. Line 34, column 67: required attribute "type" not specified
(explain...).
...is"><script language="Javascript" src="js/menu.js"></script>

The required type attribute is missing.


Did you read what is linked from the 'explain' link?
 
D

Dean Tiegs

I converted my website to xhtml strict, but it won't be
validated. Can anyone tell me what is wrong?

http://www.sionvalais.com/zermatt.php

Your first step will be to configure your server to include a charset
parameter in the Content-Type header. Currently your server returns

Content-Type: text/html

You probably want it to be

Content-Type: text/html; charset=ISO-8859-1

or

Content-Type: application/xhtml+xml; charset=ISO-8859-1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top