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 Introduction to HTML and CSS (2016) Getting Familiar with HTML and CSS Building Web Pages with HTML and CSS

What is the purpose of the big tags and the mini tags?

.

1 Answer

Steven Parker
Steven Parker
231,248 Points

All HTML tags are primarily for defining structure, though some have common defaults that affect how their contents are displayed. The final appearance is a matter of styling applied by the CSS code.

For structural purposes, tags with designated semantic purposes should be used. For examples, a paragraph should be in a <p>, and a header might be in an <h1>. Indirectly related information might be enclosed in an <aside>. But how these look on the page can be changed with CSS.

HTML is a hierarchy, so you can have containers inside other containers. The structure is very flexible and up to you, though there are a few common "best practices" that you will learn about. There really aren't any "big tags" yet a few have special rules. For example, a "main" tag is optional, but only one should be visible on the page at a time.

I hope that answers your question. Happy coding!