
The HTML blockquote tag helps you define a comparatively longer block of content quoted from another source on your webpage. This tag is used as an alternative to the <q> tag when the content inside the quotation is longer.
It informs the search engine about the quotation; the cite attribute inside the <blockquote> tag does the work of including the source address. Let us learn more about the HTML blockquote tag and the best practices for using it in web projects.
This tag is useful when we want to stand out a resource we are using on our webpage easily using a simple HTML tag. Here, we will learn how to implement HTML blockquote tags in a webpage and their significance in more detail.
You can easily put a blockquote in action using the simple HTML tag opening with <blockquote> and ending with a closing </blockquote> tag. Check a simple representation of the syntax of the HTML blockquote tag along with a simple example.
| <blockquote cite= “”>.............</blockquote> |
| !DOCTYPE html> <html> <body> <div> <p>Do you know upskilling is very important?</p> <blockquote cite="https://pwskills.com"> Elevate your skills! Seamlessly blend the worlds of technology & business together for a future full of endless possibilities. </blockquote> </div> </body> </html> |
![]() |
| cite | It contains the source URL of the quoted text |
| Attribute | Description |
| class | It adds one or more class names for styling with CSS. |
| id | The ID attribute is used to add a unique identifier for the element. |
| style | It adds an inline CSS to the element. |
| title | The title attribute adds extra information on hover as a tooltip. |
| lang | It defines the language of the element’s content. |
| dir | It sets text direction (ltr, rtl, auto). |
| hidden | The hidden attribute hides the element from the page. |
| draggable | It makes the element draggable (true/false). |
| tabindex | It controls the keyboard navigation order. |
| contenteditable | This attribute specifies the element's content editable by the user. |
| <!DOCTYPE html> <html> <body> <div> <p>Do you know upskilling is very important?</p> <blockquote cite="https://pwskills.com"style="margin: 0; padding: 10px 0;font-style:italic"> Elevate your skills! Seamlessly blend the worlds of technology & business together for a future full of endless possibilities. </blockquote> </div> </body> </html> |
![]() |
![]() |
| <blockquote style="border-left: 4px solid #008DE3; padding-left: 12px; font-style: italic; color: #333;"> "Elevate your skills! Seamlessly blend the worlds of technology & business together for a future full of endless possibilities." </blockquote> |
![]() |