No announcement
 

Quotations

HTML provides two tags for marking up quotations. The <blockquote> tag is used for longer, block-level quotations, while the <q> tag is used for shorter, inline quotations.

Example:

quotation.html

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>My Webpage</title>
</head>
<body>
    <h2>Quotation Examples</h2>
    <blockquote>
        This is a block quotation.
    </blockquote>

    <p>Here is an <q>inline quotation</q> within a paragraph.</p>
</body>
</html>

Output

Quotation Examples

This is a block quotation.

Here is an inline quotation within a paragraph.

The <blockquote> tag can be further customized using CSS or additional attributes.