HTML Tag <VAR>

HTML Tag <VAR>

<VAR> Indicates a placeholder variable in document text. This is useful when describing commands for which the visitor must supply a parameter.

Attribute of <VAR> Tag

CLASS

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

I, <VAR CLASS="dkm">subject</VAR>, PHP,ASp,JSP,JavaScript,HTML.

Possible Values

SQUARE, CIRCLE, DISC



ID

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

<VAR ID="dkm">

Possible Values

Unique ID Name.



STYLE

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

<VAR 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 text within the <VAR> tags.

Use a H<VAR TITLE="Heading Level Number">n</VAR> tag.

Possible Values

Any Text Message




CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad