Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
What on earth is wrong with this?
Old 09-06-2007, 08:02 AM What on earth is wrong with this?
Defies a Status

Posts: 3,420
Trades: 0
I'm trying to write a blog post on how to write a valid XHTML document, and I can't even seem to do it myself! It's disastrous!

Here's the code - the W3C validator is saying there are problem but I can't see any

Quote:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=”http://www.w3c.org/1999/xhtml”>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8" />
<head>
<title>Daniel Price’s ornithology encyclopedia</title>
<meta name=”keywords” content=”Bird watching, ornithology, wildlife” />
<meta name=”description” content=”A small encyclopedia about the sport of bird watching and how to identify common birds" />
<link rel=”stylesheet” href=”http://danlprice.co.uk/style.css” type=”text/css” />
</head>

<body>
<p>This is some writing. Content can be placed in this tag. Now I will close the tag. </p>
</body>
</html>
Anyone help ASAP?
CSS4Life is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-06-2007, 08:05 AM Re: What on earth is wrong with this?
Defies a Status

Posts: 3,420
Trades: 0
By the way, the address of this is www.danlprice.co.uk/example.html and I've made a blank CSS file on www.danlprice.co.uk/style.css. These are both just for example purposes - the main site is working fine on Wordpress
CSS4Life is offline
Reply With Quote
View Public Profile
 
Old 09-06-2007, 09:10 AM Re: What on earth is wrong with this?
maxxximus's Avatar
Extreme Talker

Posts: 219
Name: Rob
Location: UK
Trades: 0
Your quotation marks were causing problems - this validates fine.





HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Daniel Price’s ornithology encyclopedia</title>
<meta name="keywords" content="Bird watching, ornithology, wildlife" />
<meta name="description" content="A small encyclopedia about the sport of bird watching and how to identify common birds" />
<link rel="stylesheet" href="http://danlprice.co.uk/style.css" type="text/css" />
</head>
<body>
<p>This is some writing. Content can be placed in this tag. Now I will close the tag. </p>
</body>
</html>
maxxximus is offline
Reply With Quote
View Public Profile
 
Old 09-06-2007, 09:16 AM Re: What on earth is wrong with this?
Defies a Status

Posts: 3,420
Trades: 0
Thanks very much Rob. That's great
CSS4Life is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What on earth is wrong with this?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23403 seconds with 12 queries