HTML Inline / Block Element

In HTML, most elements are defined as block or inline elements. Please note, <div> and <span> elements can be used as containers for other HTML elements.

Block Elements:
<h1>, <form>, <li>, <ol>, <ul>, <p>, <pre>, <table>, <div>, etc.
Inline Elements:
<b>, <i>, <td>, <a>, <strong>, <img>, <input>, <em>, <span>, etc.

Share this

Related Posts