What is q tag in html? Can it be used in html5? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is q tag in html? Can it be used in html5?

19th Jul 2020, 12:31 PM
Parsa Nourian
Parsa Nourian - avatar
4 Answers
+ 6
The HTML <q> element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the text in quotation marks. This element is intended for short quotations that don't require paragraph breaks; for long quotations use the <blockquote> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
19th Jul 2020, 12:31 PM
Mantafounis Panagiotis
Mantafounis Panagiotis - avatar
+ 4
<q> ...... </q> adds quotation to a text.
19th Jul 2020, 12:38 PM
Nilesh
0
Thx
19th Jul 2020, 12:43 PM
Parsa Nourian
Parsa Nourian - avatar