HTML q element
HTML <q> tag applies quotes on the reference content from another source. q applies quotation marks (“”) before and after the paragraph.
<p>The mission of this <cite>website</cite> is <q cite="http://www.web4college.com">To teach the HTML in an easy way with a new updated version of HTML.</q></p></>
The mission of this website is
To teach the HTML in an easy way with a new updated version of HTML.
Tag UsesSpecific uses of <q> tag
q should only be used for the quotations. It should not be used for the presentational purposes (other than quotations). In the following example, quotation marks should be used instead of the q element.
<p>The word "HTML" means hyper text markup language.</p>Try </>
Both starting and ending tags are necessary for the q element.
All the global attributes are applicable on q element.
Was this article helpful?