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 How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

meta data tag explained in very poor way doesn't make any sense to beginner at all

if i were asked to reuse it again in future i would not know how as u dont explain it properly

2 Answers

Ryan M
Ryan M
16,509 Points

This is something that you will want in all of your HTML files, but it isn't something that you need to memorise. Just think of it as fixing the default view that is shown to mobile devices. You can always make a note of it and go to your notes when you start a new project, make a template HTML file to start your projects from or get it from Bootstrap's starter template https://v4-alpha.getbootstrap.com/getting-started/introduction/#starter-template

thank you i would still like top understand it but for now this will do :)

Daniel Macleod
Daniel Macleod
6,040 Points

Hey Hungry :monkey:!

I had the same issue when starting out. Damn <meta> tags! :rage1:

But here's what I've learned, and how I see it:

<meta> tags are like comments.
When you type comments into your html, css, javascript etc, they CAN'T be seen on the webpage
and are ignored by the browser.:see_no_evil::speak_no_evil::hear_no_evil: .

<meta> tags also can't be seen on the webpage BUT they CAN be seen by browsers :open_mouth::bulb::sunny:.
It's like we're writing a top secret :mag::envelope::shipit: set of instructions for the browser so that it can
then decide what to do with the webpage.

Definitely check out this W3 link on <meta> tags and let me know how you get on: Meta Tags.

Good luck and happy coding! :+1::frog:
Dan