HTML Quotation
HTML Quotation
HTML Quotation
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.
Example:
<q>This is the example of short quotation.</q>
Example Explanation:
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.
Example:
<blockquote>This is the example of long quotation.</blockquote>
Example Explanation:
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.