Skip to main content

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>

Comments

Popular posts from this blog

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