HTML <blockquote> tag

HTML <blockquote> tag is used to define a block of text which is quoted from another source. The Browser usually displays the content within <blockquote> tag as indented text.

If you want to insert a long quote then use <blockquote> and for short or inline quote use <q> tag.

Syntax

Following are some specifications about the <blockquote> tag

DisplayBlock
Start tag/End tagBoth start and End tag
UsageSemantic/textual

Example

Test it Now

Output:

HTML blockquote tag

Styling <blockquote> tag

Test it Now

Note: We have used CSS property margin-right: 25px to change the indentation applied to the text. You can also use margin-left or margin shorthand property.

Output:

HTML blockquote tag

Attribute

Tag specific attribute

AttributevalueDescription
citeHTML blockquote tagURLIt is used to specify the URL of the source from where the quote is taken.

Global attributes

The <blockquote> tag supports all the global attributes in HTML.

Event attributes

The <blockquote> tag supports all events attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<blockquote>YesYesYesYesYes
Next TopicHTML body Tag




Latest Courses