HTML <q> Element Reference

The HTML <q> element marks a short inline quotation.

<q>

HTML <q> Element Reference

The HTML <q> element marks a short inline quotation.

Categories

  • Text-level semantics

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical q element example.

<p>The documentation says <q cite="https://example.com">use semantic HTML</q>.</p>

Related references

Description

The HTML <q> element marks a short inline quotation.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <q> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies