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 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,862 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