HTML <blockquote> Tag
In this tutorial, we will learn about blockquote tag in HTML with the help of examples.
<blockquote> Tag
Blockquote tag <blockquote> tag is used to specify long Quotations or quotes from another source.
Note :Browser usually indent <blockquote> tag content.
Syntax
<blockquote>....</blockquote>
Example
<!DOCTYPE html>
<html>
<head>
<title>Bdo Tag</title>
</head>
<body>
<h2>Whale</h2>
<blockquote>Whales are a widely distributed and diverse group of fully aquatic placental
marine mammals. Whales are fully aquatic, open ocean creatures, and feed,
mate, give birth, suckle and raise their young at sea. Whales range in size from
the 2.6 metres (8.5 ft) and 135 kilograms (298 lb) dwarf sperm whale to the
29.9 metres (98 ft) and 190 metric tons (210 short tons) blue whale, which is
the largest known creature that has ever lived.</blockquote>
</body>
</html>
Output
Whale
Whales are a widely distributed and diverse group of fully aquatic placental
marine mammals. Whales are fully aquatic, open ocean creatures, and feed,
mate, give birth, suckle and raise their young at sea. Whales range in size from
the 2.6 metres (8.5 ft) and 135 kilograms (298 lb) dwarf sperm whale to the
29.9 metres (98 ft) and 190 metric tons (210 short tons) blue whale, which is
the largest known creature that has ever lived.
Specific Attribute
Attribute | Value | Description |
---|---|---|
cite | URL | URL of the source from where quote is taken |
Note : We must have to provide the cite attribute for <blockquote> tag if the quote is taken from other source.
Global Attribute
Blockquote Tag support all the global attributes of HTML.
Event Attribute
Blockquote Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of blockquote tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML body
Tag.