How to Add a Short Quotation using HTML? (original) (raw)

Last Updated : 15 Jul, 2025

For defining a short quotation by using an tag. It is used to insert quotation texts on a web page, i.e. a portion of texts different from the normal texts.

**Syntax:

Quotation Text...

**Example 1: The example below shows how to Add a Short Quotation using HTML5.

html `

Define a short quotation
<h3>
    Define
    a short quotation
</h3>

<p>
    The quick brown fox jumps
    over the lazy dog
</p>

<!--Inside quotes-->
<p><q>
        The quick brown fox jumps
        over the lazy dog
    </q></p>

`

**Output:

impi1

Output

**Example 2: The example below shows how to Add a Short Quotation using HTML5.

html `

How to define a short quotation
<h2>
    Define a short quotation
</h2>

<p>
    Einstein said <q>Truth is what
        stands the test of experience.</q>
</p>

`

**Output:

qi2

Output