Reply
What on earth is wrong with this?
Old 09-06-2007, 09:02 AM What on earth is wrong with this?
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
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?
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
When You Register, These Ads Go Away!
Old 09-06-2007, 09:05 AM Re: What on earth is wrong with this?
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
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
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Old 09-06-2007, 10:10 AM Re: What on earth is wrong with this?
maxxximus's Avatar
Extreme Talker

Posts: 206
Name: Rob
Location: UK
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 online now
Reply With Quote
View Public Profile
 
Old 09-06-2007, 10:16 AM Re: What on earth is wrong with this?
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
Thanks very much Rob. That's great
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Reply     « Reply to What on earth is wrong with this?
 

Thread Tools

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


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

 


Page generated in 0.12714 seconds with 12 queries