This Blog is for HTML Tutorials.

HTML Logo

HTML Blocks

There are two types of display values that are:

Block-level Tags


A Tag that always starts on a new line and takes up the full width available.


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

Inline Tags


A Tag that does not start on a new line and only takes up as much width as necessary. 

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


HTML-Blocks

Post a Comment

0 Comments