Solved

Validator says "unescaped ampersand character"

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
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 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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

808 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