HTML Blockquote Tag
The <blockquote> tag is used to display a block of text that is quoted from another source. By default, browsers usually indent the text inside a <blockquote> to make it visually stand out.
Why Use the <blockquote> Tag?
It helps you properly format quotes that are more than just a few words. So instead of just using quotation marks, the <blockquote> tag gives your quotes a cleaner and more meaningful structure.
Syntax -
<blockquote>Quoted text goes here.</blockquote>
Attribute | Description | Values |
---|---|---|
cite | Specifies the link to the source of the quotation. | URL. |
Example -
Scenario - Example Using <blockquote> Tag
<!DOCTYPE html>
<html>
<head>
<title> Blockquote element example.. </title>
</head>
<body>
<blockquote> TutorialsCampus objective is to
deliver the point to point online content on various
technologies (including technical and non-technical)
to encourage the reader to learn and gain expertise
on their desired skills without anyconditions and
restrictions...</blockquote>
</body>
</html>
Output -
TutorialsCampus objective is to deliver the point to point online content on various technologies (including technical and non-technical) to encourage the reader to learn and gain expertise on their desired skills without any conditions and restrictions...
Explaining Example -
This will display the quote indented in the browser, making it clear that it’s a special piece of text.