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

 

Featured pages

Overview

Learn about HTML5 architecture, design principles and patterns on HTML5 Overview Tutorial. Become …

Tags

Learn about HTML5 tags and discover a new list of HTML5 tags. Find out about HTML5 tags support by…

Welcome

 Learn HTML5 development techniques, tips and tricks on our website. Find out what is required…

Date Time Picker

HTML5 forms use date and time controls regularly. HTML5 date and time controls are used by booking …