<Q> Tag & its Attribute

HTML Tag <Q>

<Q> Quotes a direct source within a paragraph. Use <BLOCKQUOTE> to signify only a longer or block quotation.

Attribute of <Q> Tag

CITE

Specifies a reference URL for a quotation.

<BLOCKQUOTE
CITE="http://www.cs-tutorial.com/index.php">
A new way of Stusy...
</BLOCKQUOTE>


Possible Values

URL



CLASS

Indicates which style class applies to the <BLOCKQUOTE> element.

<BLOCKQUOTE CLASS="dkm">
A new way of study..</BLOCKQUOTE>


Possible Values

Any Class Name.



ID

Assigns a unique ID selector to an instance of the <BLOCKQUOTE> tag. When you then assign a style to that ID selector, it affects only that one instance of the <BLOCKQUOTE> tag.

Computer Science Tutorial:
<BLOCKQUOTE ID="123">A new way of study.
</BLOCKQUOTE>


Possible Values

Any ID Name.



STYLE

Specifies Style Sheet commands that apply to the contents within the <BLOCKQUOTE> tags.

<BLOCKQUOTE STYLE="background: red">


Possible Values

CSS Property with value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the quoted text.

<BLOCKQUOTE TITLE="Best Tutorial">


Possible Values

Any Text Message..




Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad