Online visitors

People learning around the world

Online

—

Visitors exploring W3Schools

Online visitors by country Circles show approximate country locations. The country list provides the visitor counts.

Circles represent countries, not exact visitor locations.

Country

Online

Loading country activity…

    HTML Block Elements

    An HTML document consists of HTML block-level or inline elements. An HTML block-level element always starts on a new line and spans left and right, As far as possible. It occupies the entire horizontal space of the parent element, whose height is equal to the HTML content.

    Typically, users use two common block elements. These are HTML <div> and <p> tags. We will discuss some standard HTML block elements in the following sections.

    Example:

    An example of an HTML block-level element:

    <div>HTML div tag is a block-level element.</div>
    <p>HTML paragraph tag is a block-level element.</p>
    

    Some HTML Block-Level Elements are as follows:

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


    Found This Page Useful? Share It!
    Get the Latest Tutorials and Updates
    Join us on Telegram

    Notifications

    Updates are enabled for this browser.

    Receive new tutorials, articles and learning resources. You can turn updates off anytime.