In this tutorial, we will discuss blockquote tag of HTML5.
In this tutorial, we will discuss blockquote tag of HTML5.This tutorial will inform you about <blockquote> tag. The <blockquote> tag is used for indicating block of quotation including multiple lines or paragraph. This tag represents the section of text which is quoted from any other resource. We can use multiple <blockquote> tag in our document as per requirement This tag must have start and end tag. Most browsers indent text from both(left and right) margins. But we doesn't use this tag to indent text. The text from <blockquote> tag renders with paragraph breaks. We don't require paragraph breaks for short quotes then we use <q> tag.
The <blockquote> tag has only one specific attribute cite. This attribute indicates the fully qualified URL of the quote from where it is taken.
Declaration syntax:
<blockquote cite="URL" >Text Here </blockquote> |
Example: blockquote.html.
<!DOCTYPE html> <html> <head> <title>Example of blockquote tag</title> </head> <body>This is blockquote tag implementation <blockquote cite= "http://www.roseindia.net/tutorial/html/html5/index.html"> In this tutorial we will learn HTML5 blockquote tag with the help of example. Here you will find demo and example of HTML5 blockquote tag. You will be needing latest HTML5 supported browser to test the application. </blockquote> This is Good . </body> </html> |
Output:
Note: See the browser compatible page for successfully rendering the program.