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 tags identify the type of content on the page." What is meant by this exactly?

I am really confused by the use of identify in this sentence, especially.

1 Answer

Alex Koumparos
seal-mask
.a{fill-rule:evenodd;}techdegree
Alex Koumparos
Python Development Techdegree Student 36,887 Points

Hi Cameron,

HTML is a semantic markup language. This means that every tag describes (or identifies) the type of content. Put another way, HTML describes what the content is, not what it looks like (this being the job of CSS). For example, <h1> tells us that the content in the element is a heading (and the highest level of heading). Similarly, <p>, communicates that the element holds paragraph-level text and <a> contains a link to other content. Applications can adjust their behaviour depending on the type of content. For example, a web scraper can extract all the links from a page by looking for <a> tags.

Hope that clears things up.

Cheers

Alex