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

CSS Treehouse Club: CSS My First Web Page New HTML Features

Che Hei Cheung
Che Hei Cheung
1,438 Points

What is meta tags?

I have no ideas about what meta tag is. Why it has no closing tag?

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! A meta tag is a tag that contains information about the document to be displayed. Among other things the encoding of the page is listed here. There are several tags in HTML that are considered to be "self-closing". This means that the ending of the tag simply looks like this: />.

Try and think of a meta tag like the first few pages of a book. Those first few pages generally contain information about the author, publisher, thanks to family and friends etc, but have little to no bearing on the story contained in the book.

Hope this helps! :sparkles:

Meta tag provide information to browser software or host server how to render the information to users