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 Uses
Specific uses of <q> tagq 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 </>
Tag omission
Both starting and ending tags are necessary for the q element.
Global Attributes
All the global attributes are applicable on q element.
Next Previous
Was this article helpful?