DEV Community

Cover image for HTML tags | q
Carlos Espada
Carlos Espada

Posted on • Edited on

1

HTML tags | q

It is used to indicate a short inline quotation. It has an optional cite attribute to assign a URL with the source of the citation or in which information about it is expanded.

Normally the browser will render it by inserting the text between quotes, which will be modifiable by CSS using the quotes attribute.

Being a short quotation does not need line breaks. In that case <blockquote> should be used.

  • Type: inline
  • Self-closing: No
  • Semantic value: No

Definition and example | Support

Top comments (0)

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay