How to display a short quotation in HTML?

HTMLWeb DevelopmentFront End Technology

The HTML <q> tag is used for indicating short quotations (i.e. quotations that span multiple lines). The HTML <q> tag also supports the following additional attributes −

citeURLURL of the quote, if it is taken from the web.


You can try to run the following code to implement <q> tag in HTML −

 Live Demo

<!DOCTYPE html>
      <title>HTML q Tag</title>

      Here comes a short quotation: <q> here is a short quotation </q>
Updated on 24-Jun-2020 08:04:28