Solved

Validator says "unescaped ampersand character"

Posted on 2013-11-17
3
360 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
css issues with IE 11 8 42
css selector 1 21
Place text over image using CSS 6 48
Remove Space when printing webpage - Setup in Print.css 3 12
When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

839 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