Loading...
HTML <q> Tag

HTML <q> Tag

In this tutorial, we will learn about q tag in HTML with the help of examples.


<q> Tag

Q tag <q> is used to define short quotation.

Note : By default browser insert quotation marks around the quotation.

Syntax

<q>.........</q>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Q Tag</title>
  </head>
  <body>
    <q>Great Responsibility</q>
  </body>
</html>

Output

Great Responsibility

Specific Attribute

Attribute Value Description
cite URL It specifies the source URL of the quote

Global Attribute

Q Tag support all the global attributes of HTML.


Event Attribute

Q Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of <q> tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML <rp> Tag.

- Related Topics