HTML Quotations

Quotations in HTML are used to display text that is quoted from another source or to provide an indication of dialogue or citations. HTML provides several tags for various types of quotations:
1. Blockquote

The <Blockquote> tag is used to represent a section that is being quoted from another source. It typically renders with indentation.

block
2. Q (Short Quotations)

The <q> tag is used for shorter inline quotations. The browser may render this with quotation marks around the text.

q short
3. Cite

The <cites>tag is used to reference the title of a creative work such as a book, film, or article. It is often used within the <blockquote> or <q>tags to specify the source.

cites
4. Abbreviation

The <abbr> tag is used for abbreviations or acronyms, often with a title attribute to provide the full form.

Abbreviation
5. Address

The <Address> tag is used to specify contact information for the author or owner of a document or article. It typically appears at the end of the document.

Address
<blockquote> or <q>
  • <abbr>
  • Description
    • <blockquote> For longer, block-level quotes. Typically includes a cite attribute for the source.
    • <q> For shorter, inline quotes. Automatically adds quotation marks.
    • <cite> For referencing titles of creative works. Often used <code span> For abbreviations or acronyms, with the full form in the title attribute.
    • <address> For contact information, usually placed at the end of a document.