html tutorial - <q> Short Quotation Tag in HTML - html5 - html code - html form

q tag

Learn html - html tutorial - q tag - html examples - html programs

  • <q> tag is used to define a short quotation.
  • <q> tag supports Global Attributes and Event Attributes.
  • <q> tag belongs to Flow content, phrasing content and palpable content.

Syntax for <q> tag in HTML:


Sample Coding for <q> tag:

Tryit<!DOCTYPE html>
<html >
        <title>Wikitechy q tag</title>
           <q>Learn</q>to Code in Wikitechy<br> 
           <q>Teach</q>people how different technologies are organized 
           <q>Covers</q>a variety of topics<br> 
           <q>Ranging</q>from advanced beginners to skill levels.

Code Explanation for <q> tag:

Short Quotation <q> Tag Code Explanation

  1. <p> tag is used to display paragraph in the html document.
  2. The text inside the <q> tag will be displayed in short quoted text.

Output for <q> tag in HTML:

Short Quotation <q> Tag Output

  1. The words “Learn , Teach , Covers & Ranging” was in short quoted text.

Attribute of <q> tag:

Attribute Value HTML 4 HTML5 Description
cite URL Yes Yes To specify the source URL of the quote.

Browser Support for <q> tag in HTML:

Yes Yes Yes Yes Yes

Tips and Notes

  • Use <blockquote> to mark up a section that is quoted from another source.

Related Searches to quotation tag in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add to your ad blocking whitelist or disable your adblocking software.