What is an HTML Element?

Simply put, an HTML element is like a family. You have starting tag, some type of content in the middle and a ending tag. Although some element has no content and no ending tag. everything from the start to the end is consider an element.

<name of tag> all the content is here </ name of tag>

Example

starting tagcontent of elementending tag
<p>this is a paragraph</p>

Similar Posts