HTML | <blockquote> cite Attribute
The HTML <blockquote> cite Attribute is used to specify the source of the quotation.
Syntax:
<blockquote cite="URL">
Attribute Values:
- URL: it contains the value i.e URL which specifies the source of the quotation.
-
Possible Values:
- absolute URL: It points to another website.
- relative URL: It points to a file within a website.
Example:
<!DOCTYPE html>
<
html
>
<
head
>
<
title
>
HTML
<
blockquote
>Cite Attribute
</
title
>
<
style
>
body {
text-align: center;
}
h1 {
color: green;
}
</
style
>
</
head
>
<
body
>
<
h1
>w3wiki</
h1
>
<
h2
><
blockquote
>Cite Attribute</
h2
>
<
blockquote
cite
=
"www.w3wiki.net.in"
>
w3wiki:
A computer science portal for Beginner
</
blockquote
>
</
body
>
</
html
>
Output :
Supported Browsers: The browser supported by HTML <blockquote> Cite Attribute are listed below:
- Google Chrome
- Edge 12 and above
- Internet Explorer
- Firefox 1 and above
- Opera
- Safari