Skip to main content

What is HTML Element?



Element – opening tag + content + closing tag


ex:-


<strong>   - opening tag
</strong> - closing tag


<strong>Content</strong>
 This is an html element called as strong to make text as strong or bold

To learn html, we need to learn what are html elements?

Comments

Popular posts from this blog

What are types of HTML elements?

HTML elements are two types. Inline elements- the elements which are used in inline only, that means the next text after these elements come in same line. Ex:- <strong> Block level elements- the elements which are used in separate line only, that means the next text after these elements come in new line. Ex:- <p>