HTML Blocks Elements
Blocks and Inline Elements
Blocks Elements are those Elements that start and end with a new line. Browser automatically adds space before and after the tags
Inline Elements are those that are not start with new line
List of Block Elements
Sr.No | Tag Name |
---|---|
1 | <address> |
2 | <article> |
3 | <aside> |
4 | <blockquote> |
5 | <canvas> |
6 | <dd> |
7 | <div> |
8 | <dl> |
9 | <dt> |
10 | <fieldset> |
11 | <figcaption> |
12 | <figure> |
13 | <footer> |
14 | <form> |
15 | <h1>-<h6> |
16 | <header> |
17 | <hr> |
18 | <li> |
19 | <main> |
20 | <nav> |
21 | <table> |
22 | <tfoot> |
List of Inline Elements
Sr.No | Tag Name |
---|---|
1 | <a> |
2 | <abbr> |
3 | <b> |
4 | <bdo> |
5 | <big> |
6 | <br> |
7 | <button> |
8 | <cite> |
9 | <em> |
10 | <i> |
11 | <img> |
12 | <input> |
13 | <label> |
14 | <object> |
15 | <q> |
16 | <select> |
17 | <span> |
18 | <strong> |
19 | <sub> |
20 | <sup> |
21 | <tt> |
22 | <var> |