HTML <blockquote> Tag

Description:

The <blockquote> tag defines a long quotation.

A browser inserts white space before and after a blockquote element. It also insert margins for the blockquote element.

 

Specific Attributes:

Attribute Definition
cite Indicates the source of the quotation.

Other Attributes:

Attribute Definition
dir

Specifies the text direction for the content in an element.
Possible Values:

  • rtl  (Right to Left)
  • ltr  (Left to Right)
class Specifies a classname for an element.
id Specifies a unique id for an element.
lang Specifies a language code for the content in an element.
title Specifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
style Specifies an inline style for an element.

Example Code:

Quotation by Sharon Gold
<blockquote>
Throw out an alarming alarm clock. If the ring is loud and strident, you're waking up to instant stress. You shouldn't be bullied out of bed, just reminded that it's time to start your day.
</blockquote>

Result
Quotation by Sharon Gold
Throw out an alarming alarm clock. If the ring is loud and strident, you're waking up to instant stress. You shouldn't be bullied out of bed, just reminded that it's time to start your day.