473,396 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

W3 Validator Ampersand error ... HELP!

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
3 2130
AricC
1,892 Expert 1GB
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
If you are still having problems, try using &quot; instead of the quotations marks.
Apr 18 '07 #3
KevinADC
4,059 Expert 2GB
make life easy, use the word "and" instead of the & symbol.
Apr 18 '07 #4

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

Similar topics

3
by: Eidolon | last post by:
I am wondering how i can put an ampersand character into the value attribute of a key in the appSettings section of my web.config file. If i try to simply type it in, then run my web app, i get the...
5
by: DeMZed | last post by:
Hi, When validating my web site, I've got the following error : ------------------------------ Line 31, column 26: cannot generate system identifier for general entity "PHPSESSID" <a...
8
by: Spartanicus | last post by:
The document at http://homepage.ntlworld.com/spartanicus/custom_dtd.htm uses a custom DTD, the w3c validator validates it but with this warning: "Unknown Parse Mode! The MIME Media Type...
2
by: VSK | last post by:
Hi all, I have a .ascx file with dropdownbox (SSN, EmpName) textbox submit button regular expression validator( controltovalidate is the above textbox) Now i want to change the Regular...
0
by: TN Bella | last post by:
Hi, I am trying to get my compare validator to fire properly...Since I have panels the validator wouldn't work properly, the app would fire right but would insert the data regardless and the...
1
by: Prasanna Padmanabhan | last post by:
I want to process requests to certain image files that have a custom ..icon(32x32) extenstion with a custom .NET HttpHandler in order to be able to tap into Application events. This works fine...
8
by: pmud | last post by:
Hi, I am using a compare validator in asp.net application(c# code). This Custom validator is used for comparing a value enterd by the user against the primary key in the SQL database. IF the...
1
by: klynn | last post by:
I have a web.config key as follows: <add key="DOC_TRAILER" value="&Lib=whatever&File=.pdf&Frameset=Created" /> but I cant run the app with this string. Problems with & I tried putting @ at...
4
by: james.eaton | last post by:
I have an XML Schema Document (.xsd) that contains documentation tags (specifically, custom tags subordinate xsd:appinfo). These documentation tags contain strings that may contain ampersands. I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.