Solved

Validator says "unescaped ampersand character"

Posted on 2013-11-17
3
358 Views
Last Modified: 2013-11-18
Found an unescaped ampersand character ('&') or there's a character reference that's missing an ending semicolon. NOTE: To use a literal ampersand it must be encoded as "&", even in URLs. This is because '&' is an escape character in HTML/XHTML.

<li><a href="http://roofgenius.com/roof-pitch-degrees.asp">Roof Pitch Degrees&deg</a></li>
how should this be written ?
0
Comment
Question by:isnoend2001
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39655605
&deg;
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 39655622
it seems, ambiguous ampersands always invalid in W3C standard.. ref. http://mothereff.in/ampersands
0
 

Author Closing Comment

by:isnoend2001
ID: 39655704
Cannot check now my site is down, but just adding the semicolon (;)i am assuming fixes the issue
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
css, html 6 51
Re-position sub-options beneath the TAB 7 77
alert before form submission 6 31
Not showing page correctly 3 31
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now