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 Images, Text and Links Captioning Images

What is the purpose of all the elements tag?

There are so many element tags here: article, figure, section...

Is there a reason why I should use these tag as oppose to using div with a custom class and self defined CSS?

Does it help in search engine by using these native elements?

1 Answer

They are called "semantic" elements and are VERY important for the browser (and search engines) to better understand your code. Visually for the viewer they are not important, but you better use them if you want to have a seach engine optimized code....

A very good reference to read futher is this: