Solved

Validator says "unescaped ampersand character"

Posted on 2013-11-17
3
364 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

752 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