[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

Validator says "unescaped ampersand character"

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
isnoend2001
Asked:
isnoend2001
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
&deg;
0
 
Loganathan NatarajanLAMP DeveloperCommented:
it seems, ambiguous ampersands always invalid in W3C standard.. ref. http://mothereff.in/ampersands
0
 
isnoend2001Author Commented:
Cannot check now my site is down, but just adding the semicolon (;)i am assuming fixes the issue
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now