- HTML Tutorial
- HTML - Home
- HTML - History and Evolution
- HTML - Overview
- HTML - Editors
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Headings
- HTML - Paragraphs
- HTML - Quotations
- HTML - Comments
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Style Sheet
- HTML - CSS Classes
- HTML - CSS IDs
- HTML - Images
- HTML - Image Map
- HTML Tables
- HTML - Tables
- HTML - Headers & Caption
- HTML - Table Styling
- HTML - Table Colgroup
- HTML - Nested Tables
- HTML Lists
- HTML - Lists
- HTML - Unordered Lists
- HTML - Ordered Lists
- HTML - Definition Lists
- HTML Links
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Iframes
- HTML - Blocks
- HTML Backgrounds
- HTML - Backgrounds
- HTML Colors
- HTML - Colors
- HTML - RGB
- HTML - HEX
- HTML - HSL
- HTML Forms
- HTML - Forms
- HTML - Form Attributes
- HTML - Form Control
- HTML - Input Attributes
- HTML Media
- HTML - Video Element
- HTML - Audio Element
- HTML - Embed Multimedia
- HTML Header
- HTML - Head Element
- HTML - Adding Favicon
- HTML - Javascript
- HTML Layouts
- HTML - Layouts
- HTML - Layout Elements
- HTML - Layout using CSS
- HTML - Responsiveness
- HTML - Symbols
- HTML - Emojis
- HTML - Style Guide
- HTML Graphics
- HTML - SVG
- HTML - Canvas
- HTML APIs
- HTML - Geolocation API
- HTML - Drag & Drop API
- HTML - Web Workers API
- HTML - WebSocket
- HTML - Web Storage
- HTML - Server Sent Events
- HTML Miscellaneous
- HTML - MathML
- HTML - Microdata
- HTML - IndexedDB
- HTML - Web Messaging
- HTML - Web CORS
- HTML - Web RTC
- HTML Demo
- HTML - Audio Player
- HTML - Video Player
- HTML - Web slide Desk
- HTML Tools
- HTML - Velocity Draw
- HTML - QR Code
- HTML - Modernizer
- HTML - Validation
- HTML - Color Code Builder
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
- HTML Resources
- HTML - Quick Guide
- HTML - Useful Resources
- HTML - Color Code Builder
- HTML - Online Editor
HTML - <blockquote> Tag
HTML <blockquote> tag is used to quate section which are taken from other source. It changes the alignment to make it unique among others. It contains both opening and closing tags.
The< blockquote> tag in HTML5 specifies the section that is quoted from other sources. But HTML 4.1 defines "long quotations," i.e., quotations that span multiple lines.
Syntax
<blockquote>...</blockquote>
Attribute
HTML blockquote tag supports Global and Event attributes of HTML. A specific attribute is accpeted which is listed beloow.
Attribute | Values | Description |
---|---|---|
cite | URL | It defines the URL of the source of the quotation. |
Examples of HTML blockquote Tag
In the bellow examples we will create quotation without source ite, with source cite and also deorate the quotation by using internal CSS.
Creating blockquote Text Element
In the following example, let’s see the usage of <blockquote> tag in the HTML documents.
<!DOCTYPE html> <html> <body> <h2>Blockquote example</h2> <blockquote> TutorialsPoint: Simply Easy Learning </blockquote> </body> </html>
Specifying quotation with Source
Considering the following example, we are creating an HTML document and using the <blockquote> tag and its attribute "cite" to identify the quotation's source.
<!DOCTYPE html> <html> <body> <h2>Blockquote example</h2> <blockquote cite="https://www.tutorialspoint.com"> TutorialsPoint: Simply Easy Learning </blockquote> </body> </html>
Styling blockquote Element
Let's look into the following example, we are creating an HTML document and styling properties for style the blockquote element.
<!DOCTYPE html> <html> <head> <style> blockquote { color: green; font-style: italic; } </style> </head> <body> <h2>Blockquote example</h2> <blockquote cite="https://www.tutorialspoint.com"> TutorialsPoint Easy to Learn! </blockquote> </body> </html>
Supported Browsers
Tag | |||||
---|---|---|---|---|---|
blockquote | Yes | Yes | Yes | Yes | Yes |
To Continue Learning Please Login
Login with Google