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 Beginning HTML and CSS Follow Along with Workspaces

Html tags create an element so does that mean elements create html?

im a new learner

2 Answers

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,252 Points

Hi Shakran. Welcome to Treehouse.

In HTML, the terms tag and element are interchangeable.

This is a HTML element.

<p></p>

A paragraph element. Your Web browser reads this tag and knows to "render" or display it as a piece of text with some default styling. You use HTML to create static content which is later styled by CSS.

So by using tags like the paragraph I just showed you that is what is meant by creating elements.

Hope this helps :)

Imran Chowdhury
Imran Chowdhury
5,684 Points

I was wondering the same thing as Shakran Mushtaq. Thanks for clearing up Jonathan Grieve. :) Really helpful.