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

Juan Carlos Castaneda
PLUS
Juan Carlos Castaneda
Courses Plus Student 812 Points

Entity?

I don't understand

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h3>Design & Development</h3>
    <p>Contact me at <a href="mailto:issacharisrael144@gmail.com">this email</a>.</p>
    <p>&copy;copywright 2017</p>
  </body>
</html>
eslam said
eslam said
Courses Plus Student 6,734 Points

There is reserved characters in html so we use speical character entities. check this link for a complete explanation

1 Answer

Steven Parker
Steven Parker
231,248 Points

From the MDN page:

An HTML entity is a piece of text ("string") that begins with an ampersand (&) and ends with a semicolon (;). Entities are frequently used to display reserved characters (which would otherwise be interpreted as HTML code), and invisible characters (like non-breaking spaces). You can also use them in place of other characters that are difficult to type with a standard keyboard.

And here's the complete reference chart.