Quotes

HTML quotes are a useful tool for highlighting important phrases or passages, making them stand out and improving the organization of the content. Whether you’re including a short quote within a paragraph or separating a longer quote in a block, these visual cues enhance the reading experience. It's also important to credit the author or source, which adds credibility to the quote.

 

Best practices

  • Short Quotes:
    Use simple quotes (“ ”) [the <q> tag] to enclose short quotes or important phrases within your text (much like using quotation marks in a book).

  • Longer Quotes:
    When quoting a full sentence or paragraph, specify the use of <blockquote> tag. This sets the quote apart from the rest of your text for better readability.

  • Attribution:
    Always credit the source of a quote. Use the <cite> tag to clearly show the author or origin, just like you would see in a book.

  • Linking Sources:
    When appropriate, add a link to the original source (such as a book or webpage). This provides readers with easy access to more information and context.