The <q> Tag in HTML 5

Use the <q> tag for inline quoted text

The <q> tag should be used for text within a paragraph that is a quotation from another source or to set off a literal phrase from the normal flow of a paragraph. The content inside the q element, which is one of the phrase elements in HTML, will normally be displayed within a pair of double quotation marks.

This paragraph follows the practice what you preach principle. The double quotation marks around the quotation in the previous sentence are created by the browser interpreting the <q> tag rather than by actual double quotation marks in the HTML code.

See the <q> tag example code below.

The value of the cite attribute is a URL or other URI reference and is not displayed in most browsers. The <cite> tag can be used to cite the title of the source of the quotation.