HTML Tags: Others – Block

These are the rest of the HTML block tags.

TagTypeDescription
<blockquote>BlockRepresents a quotation block
<pre>BlockRepresents a preformatted text (displayed as-is)
Definition list
<dl>BlockRepresents a definition list
<dt>BlockRepresents a definition term
<dd>BlockRepresents a definition description
Figure
<figure>BlockRepresents a self-contained content
<figcaption>BlockRepresents caption for <figure>
Details
<details>BlockRepresents a collapsible/accordion widget
<summary>OtherRepresents summary/caption of a <details>

<blockquote>

Represents a quotation block.

Possible attributes

  • cite=[...]URL to the source of quotation
| LIVE PREVIEW
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<pre>

Represents a preformatted text.

The text will be displayed as typed in the HTML file.

| LIVE PREVIEW
Roses are red,
  Violets are blue,
Sugar is sweet,
  And so are you. 

<dl>, <dt>, and <dd>

<dl> represents a definition list.

<dt> represents a definition term in a <dl>.

<dd> represents a definition description in a <dl>.

| LIVE PREVIEW
Beast of Bodmin
A large feline inhabiting Bodmin Moor.
Morgawr
A sea serpent.
Owlman
A giant owl-like creature.

<figure> and <figcaption>

<figure> represents a self-contained content.

<figcaption> represents caption for <figure>.

| LIVE PREVIEW
An abstract photo
A photo by Lucas Benjamin - Unsplash

<details> and <summary>

<details> represents a collapsible/accordion widget.

<summary> represents caption of a <details> element.

| LIVE PREVIEW
Lorem ipsum (click me) Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Assets

References