How to use quotation marks in HTML?

HTMLWeb DevelopmentFront End Technology

The <q> tag is used to add short quotation marks in HTML. Just keep in mind if the quotation goes for multiple lines, use <blockquote> tag. Browsers usually insert quotation marks around the q element.

You can also use the cite attribute to indicate the source of the quotation in URL form.


You can try the following code to add quotation marks in HTML

Live Demo

<!DOCTYPE html>
      <title>HTM q tag</title>

      <p>Drupal Community says,</p>
      <q>Drupal is built on principles like collaboration, globalism, and
Published on 18-Jan-2018 10:57:28