HTML quotation is used to give quoted texts on the web page.
q tag inserts quotation mark around the texts and it is used to give the short quotation.
blockquote tag creates space around the text that looks like a section and it is used to give the long quotation.
HTML Short quotation is defined by <q> tag.
HTML Long quotation is defined by <blockquote> tag.
In the above, we have shown an example of HTML Short Quotation.
<q> tag is used to give the short quotation on the web page.
Run the code to see the effect.
In the above, we have shown an example of HTML Long Quotation.
<blockquote> tag is used to give the long quotation on the web page.
Run the code to see the effect.