Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking Doctype Problems

Status
Not open for further replies.

Jonnn

Programmer
Nov 17, 2004
135
GB
Hello, i am trying to use the Doctype : XHTML Strict 1.01

I cannot seem to link it up properly ...

Here is my code...

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]
<HTML>
<HEAD>
<title> Ormskirk Football Club </title>
</HEAD>

<BODY>
<a href="[URL unfurl="true"]http://validator.w3.org/check?uri=referer">[/URL] Check XHTML Coding </a>

<br/>

<div align="center">
<h1 style="color: blue; text-decoration: underline;"> Ormskirk Football Club </h1>
</div>

<br/>

<div align="left">
<span style="color: black; font-size: 10pt; font-family: verdana; sans-serif;"> 
This site is under construction, the site will be up and running for the start of the season. Sorry for any inconvenience.
</span>
</div>

</BODY>
</HTML>

If you visit my site...


When you validate the page... look at the errors?

Appreciate any help on this matter.

Thanks very much

- Jon

JavaScript Beginner at work :)
 
1. This is not a JavaScript question. You should ask in the HTML forum for HTML questions (forum215).

2. Your problem is that element names should be all lowercase for XHTML. Things like "HTML", "HEAD", and "BODY" in your code are all uppercase. Change all tags and attributes to lowercase (although attribbute values do not need to be).

Hope this helps,
Dan

[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
oh my god, i am so sorry, i have this page linked in my favourites, i forgot to change forums.. sorry guys.

thanks for the help...

JavaScript Beginner at work :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top