How to add section that is quoted from another source using HTML ?
Last Updated :
30 Sep, 2020
The <blockquote> tag in HTML is used to display the long quotations (a section that is quoted from another source). It changes the alignment to make it unique from others. It contains both opening and closing tags.
Syntax:
<blockquote> Contents... </blockquote>
Example 1:
HTML
<!DOCTYPE html>
< html >
< body >
< h1 style = "color:green;" >
GeeksforGeeks
</ h1 >
< blockquote >
GeeksforGeeks: A computer
science portal for geeks
</ blockquote >
</ body >
</ html >
|
Output:
Example 2:
HTML
<!DOCTYPE html>
< html >
< body >
< h1 style = "color:green;" >
GeeksforGeeks
</ h1 >
< blockquote cite = "www.geeksforgeeks.org" >
GeeksforGeeks:A computer
science portal for geeks
</ blockquote >
</ body >
</ html >
|
Output:
Supported Browsers:
- Google Chrome
- Internet Explorer
- Firefox
- Safari
- Opera
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...