HTML Basic Tags
Quotation Tags
HTML has special tags for quotes, abbreviations and citations.
| Tag | Purpose |
|---|---|
<blockquote> | A long quotation from another source, shown as an indented block. |
<q> | A short inline quotation. The browser adds quote marks. |
<abbr> | An abbreviation. The title explains it on hover. |
<cite> | The title of a creative work (book, film, song). |
<address> | Contact information. |
Example:
<blockquote cite="https://example.com/interview">
First, solve the problem. Then, write the code.
</blockquote>
<p>My teacher always said <q>practice beats talent</q>.</p>
<p>Learn <abbr title="HyperText Markup Language">HTML</abbr> today.</p>
<p>My favourite book is <cite>Clean Code</cite>.</p>