Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
220,937 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.