Block Elements HTML PHP

Block elements are amongst the most important part of any HTML page. <div> is the main tag in this and you wouldn’t see any HTML page without this tag. Whenever you declare any block elements, it occupies entire width of page.

There are 30 block element tags in HTML as listed below:

  • <address>
  • <article>
  • <aside>
  • <blockquote>
  • <canvas>
  • <dd>
  • <div>
  • <dl>
  • <dt>
  • <fieldset>
  • <figcaption>
  • <figure>
  • <footer>
  • <form>
  • <h1-h6>
  • <header>
  • <hr>
  • <li>
  • <main>
  • <nav>
  • <noscript>
  • <ol>
  • <output>
  • <p>
  • <pre>
  • <section>
  • <table>
  • <tfoot>
  • <ul>
  • <video>

What is Inline Element in HTML?

These HTML elements do no start in a new line. As per space of element, space is occupied.

<span>eCommerce Web Developers in Cambridge, UK</span>

We have list of inline elements that are used for HTML.

  • <a>
  • <abbr>
  • <acronym>
  • <b>
  • <bdo>
  • <big>
  • <br>
  • <button>
  • <cite>
  • <code>
  • <dfn>
  • <em>
  • <i>
  • <img>
  • <input>
  • <kbd>
  • <label>
  • <map>
  • <object>
  • <q>
  • <samp>
  • <script>
  • <select>
  • <small>
  • <span>
  • <strong>
  • <sub>
  • <sup>
  • <textarea>
  • <time>
  • <tt>
  • <var>

These were some tags that are used for block. We can’t create any page without block building elements.