The HTML Blockquote Tag <blockquote> Cite Attribute is used to classify the URL of the resource from where we are quoting text or information in the HTML Blockquote Tag.
HTML Blockquote tag is a closed tag and needs closing HTML Blockquote Tag </blockquote>.
Note: Browsers usually tend to indent the elements and text within the Blockquote HTML Tag.
HTML Blockquote Tag Cite Attribute Syntax
<blockquote cite=”URL”> Some text from other resource </blockquote>
HTML Blockquote Tag Cite Attribute Example
HTML Blockquote Tag Cite Attribute Code | Output |
<h1> Computer </h1> <p> Below is the quote from Wikipedia Website on Computer </p> <blockquote cite="http://en.wikipedia.org/wiki/Computer"> A computer is a general purpose device that can be programmed to carry out a finite set of arithmetic or logical operations. Since a sequence of operations can be readily changed, the computer can solve more than one kind of problem. </blockquote> |
Computer
Below is the quote from Wikipedia Website on Computer
|
The above HTML Blockquote Tag Cite Attribute example renders the text (taken from Wikipedia Website) in an indented form as we have wrapped the content in HTML 5 Blockquote Tag.
Also, note the usage of the Blockquote HTML Tag’s Cite Attribute.
HTML Blockquote Tag Cite Attribute Values
HTML Blockquote Tag Cite Attribute Value | Description |
URL | Defines the location of the resource being quoted. |
HTML Blockquote Tag Cite Attribute Supporting Browsers
S. No. | Browser | Supported(Yes/No) |
1 | Internet Explorer | Yes |
2 | Firefox | Yes |
3 | Google Chrome | Yes |
4 | Opera | Yes |
5 | Safari | Yes |