Html Q Tag

In the <q> tag is indicates short quotation which is used for sentence or character.Quotation can to put limited line if you use <q> tag. if you like to put quotation for many line use <blockquote> tag.In the <q> tag end tag of </q>.which tag attributes is cite and value is url. All main browser supported in <q> tag.

The <q> tag optional attributes is cite and standard attributes are class, dir , id, lang, style, title and xml:lang and event attributes are onclick, ondblclick, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onkeydown, onkeydown, onkeypress and onkeyup.



Example Code

html is a <q>Hyper Text Markup Language</q> version 5

Out Put :

html is a "Hyper Text Markup Language" version 5

In the above example <q> tag is used to Hyper Text Markup Language at Text.