Tutorials

KodeKite Tools

HTML
Flexbox
SVG
Canvas
HTML Tutorial

More


HTML Long Quotation
Blockquote Element

Quotation is a formatting element used to add quotation in text, <blockquote> defines long quotation and it creates indent for text.

Syntax

<blockquote>Content</blockquote>

Or

<tag><blockquote>Content</blockquote></tag>


You can use blockquote element any where within an HTML document.


Example

Paragraph inside blockquote element


Blockquote is a pair tag and output of blockquote element is auto indent text from like you can see in above example.


Practice Task

Open notepad or any other text editor, follow the following points.


  • Write heading 3
  • Use <blockquote> element to give quotation

save file with name task.html or task.htm and then open it using any browser and see results.


Solution

Heading 3 inside blockquote


Don't forget blockquote is non empty element which means it always comes in pair.