Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Basics Going Further with HTML Email Links and Entities Challenge

How to replace the ampersand and copyright symbol with HTML character entity?

Replace the ampersand and copyright symbol with an HTML character entity. <p>@ 2017</p>

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h3>Design & Development</h3>
    <p>Contact me at <a href="mailto:D&D@gmail.com">D&D@gmail.com</a>.</p>
    <p>© 2017</p>
  </body>
</html>

8 Answers

Abinet Kenore
Abinet Kenore
10,082 Points

Replace & symbol of line #7 by & © of line #9 by ©

OR <!DOCTYPE html> <html> <head> <title>My Page</title> </head> <body> <h3>Design & Development</h3> <p>Contact me at <a href="mailto:ab@example.com">ab@example.com">this email</a>.</p> <p>© 2017</p> </body> </html>

Andrew Wiley
Andrew Wiley
3,263 Points

For the copy symbol it's ----- & c o p y ;

For the Ampersand symbol it's -------- & a m p ;

I've posted some links below for you. Make sure you bookmark them.

https://dev.w3.org/html5/html-author/charref

https://www.freeformatter.com/html-entities.html

http://www.elizabethcastro.com/html/extras/entities.html

Thank you Andrew! My bad....

Yu-Chien Huang
PLUS
Yu-Chien Huang
Courses Plus Student 16,672 Points

<p> & a m p ;& c o p y ; 2017</p>

i passed it with this!

remove spacing in between the letters though

please, i need help on this code:

<!DOCTYPE html> <html> <head> <title>My Page</title> </head> <body> <h3>Design & Development</h3> <p>Contact me at <a href="mailto:kosayemwenre@gmail.com">this email</a>.</p> <p>©2017</p> </body> </html>

Farhan2308 Ali Nor
Farhan2308 Ali Nor
973 Points

the answer is so <p> &© 2017</p>