<blockquote> Tag in HTML

The <blockquote> tag is used to define a block of text that is a quotation from another source. It is typically used to display large quotes or excerpts from an external source in a visually distinct block, with an indentation on both sides.

Key Points on <blockquote> Tag:

Syntax of <blockquote> Tag:

Syntax Example

<blockquote cite="source_url">
            Quoted text goes here.
        </blockquote>

Example of <blockquote> Tag in HTML:

This example demonstrates how the <blockquote> tag is used to display a quoted text from an external source.

Code Example


        <html>
            <head></head>
            <body>
                <blockquote cite="https://www.example.com">
                    "The journey of a thousand miles begins with one step."
                    <footer>— Lao Tzu</footer>
                </blockquote>
            </body>
        </html>
                

Output

"The journey of a thousand miles begins with one step."
— Lao Tzu

The <blockquote> tag is generally used for longer quotations. You can also include a cite attribute to reference the source of the quotation, and a <footer> tag can be used to include the author's name or additional information.