HTML <blockquote>
Tag
The <blockquote>
tag is used in HTML to define a section that is quoted from another source. It is commonly used to display quoted text in an indented block.
Here is an example of how the <blockquote>
tag can be used:
<blockquote>
This is a quoted text from another source.
</blockquote>
Attributes of the <blockquote>
Tag
The <blockquote>
tag supports the following attributes:
Attribute | Description |
---|---|
cite | Specifies the URL of the source of the quoted text |
Here is an example of how the cite
attribute can be used:
<blockquote cite="https://www.example.com">
This text is quoted from an external source.
</blockquote>
When using the cite
attribute, you can provide a URL that links back to the original source of the quoted text.
Overall, the <blockquote>
tag is a useful tool for indicating quoted text within an HTML document.