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>

HTML Elements list

<strong> To make text as strong <i> To make text as italic style <u> To get underline below the text <p> To get Paragraphs <div> To get divisions <h1>,<h2>,<h3>, <h4>,<h5>,<h6> To get Headings <table> To get tables