By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,676 Members | 1,773 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,676 IT Pros & Developers. It's quick & easy.

W3 Validator Ampersand error ... HELP!

P: 1
When I try to validate my page http://www.doe.k12.de.us/dev/pcs/bus...arketing.shtml

in the W3 validator I keep getting the error [ character "&" is the first character of a delimiter but occurred as data. ]

Here is the code:

<div id="pageTitle">
<!-- PAGE TITLE: For site consistancy, please keep your interior pages page titles in the H3 brackets -->
<h3>Business, Finance "&amp; Marketing Education Curriculum Framework Content Standards</h3>
</div>

I'm new to html coding and know just enough to be dangerous. Can someone help me before I hurt myself?

Wendy
Feb 23 '07 #1
Share this Question
Share on Google+
3 Replies


Expert 100+
P: 1,892
When I try to validate my page http://www.doe.k12.de.us/dev/pcs/bus...arketing.shtml

in the W3 validator I keep getting the error [ character "&" is the first character of a delimiter but occurred as data. ]

Here is the code:

<div id="pageTitle">
<!-- PAGE TITLE: For site consistancy, please keep your interior pages page titles in the H3 brackets -->
<h3>Business, Finance "&amp; Marketing Education Curriculum Framework Content Standards</h3>
</div>

I'm new to html coding and know just enough to be dangerous. Can someone help me before I hurt myself?

Wendy
Hi Wendy,
I ran the below code through the validator with no problems:
[html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<?xml version="1.0" encoding="utf-8" ?>
<html>
<head>
<title>Validate</title>
</head>
<body>
<div id="pageTitle">
<!-- PAGE TITLE: For site consistancy, please keep your interior pages page titles in the H3 brackets -->
<h3>Business, Finance "&amp; Marketing Education Curriculum Framework Content Standards</h3>
</div>
</body>
</html>
[/html]
I don't think this should make a difference but try to validate it without the quotation mark in front of the ampersand.

Aric
Feb 23 '07 #2

cheezylu
P: 6
If you are still having problems, try using &quot; instead of the quotations marks.
Apr 18 '07 #3

KevinADC
Expert 2.5K+
P: 4,059
make life easy, use the word "and" instead of the & symbol.
Apr 18 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.