codegurukool.com · Free coding tutorials & online compiler

Home › HTML Tutorial › Quotations and citations

Quotations and citations

Mark quoted text correctly.

blockquote is a long quote, q a short inline one, cite a work title and abbr an abbreviation.

Example code

<blockquote cite='https://example.com'>A long quotation sits in its own block.</blockquote>
<p>She said <q>hello</q> in <cite>My Book</cite>. <abbr title='HyperText Markup Language'>HTML</abbr></p>'

Run this code in the online editor

← HTML formattingHTML comments →