HTML <q> tag

HTML <q> tag : Definition


• The HTML <q> tag is a quotation tag that is used to enclose a word or a paragraph with short quotation.

• The browsers generally inserts a quotation marks around the quotation


Html <q> tag example

<!DOCTYPE html>
<html>
<body>
 <p>This is a paragraph without quotation <q> tag.</p>
 <p><q>This is a paragraph with quotation <q> tag</q>.</p> 
</body>
</html>


Output :


 

This is a paragraph without quotation <q> tag.

This is a paragraph with quotation <q> tag.