The HTML5 q Tag
The HTML5 <q> Tag The HTML5 <q> tag is placed within an HTML document if there is a need to add a short quotation in the document. It is important to use this tag because it enables the browsers to place quotations marks around the quotation/phrase.
It has to be noted though that the HTML5 <q> tag is not recommended for long quotations. In such cases, it is necessary to use <blockquote> tag.
The HTML5 <q> tag is appropriate for all major web browsers like Internet Explorer, Google Chrome, Safari, Firefox and Opera. Using the HTML5 <q> tag is easy too because it can be paired with the Global Attributes and Events Attributes in HTML5.
Attribute for HTML5 <q> tag is listed below:
Attribute |
Value |
Description |
cite |
URL |
It is the key in determining the source URL used for the quote |