block level elements

In HTML programming, a block-level element is any element that starts a new line (e.g., paragraph) and uses the full width of the page or container. A block-level element can take up one line or multiple lines and has a line break before and after the element.

0
0

                                    <address>   Contact information.
<article>   Article content.
<aside>    Aside content.
<blockquote>  Long ("block") quotation.
<details>  Disclosure widget.
<dialog>  Dialog box.
<dd>  Describes a term in a description list.
<div>  Document division.
<dl>  Description list.
<dt>  Description list term.
<fieldset>  Field set label.
<figcaption>  Figure caption.
<figure>  Groups media content with a caption (see <figcaption>).
<footer>  Section or page footer.
<form>  Input form.
<h1>, <h2>, <h3>, <h4>, <h5>, <h6>    Heading levels 1-6.
<header>   Section or page header.
<hgroup>   Groups header information.
<hr>    Horizontal rule (dividing line).
<li>   List item.
<main>   Contains the central content unique to this document.
<nav>  Contains navigation links.
<ol>   Ordered list.
<p>   Paragraph.
<pre>   Preformatted text.
<section>   Section of a web page.
<table>    Table.
<ul>    Unordered list.

0
0
Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source