<ADDRESS> Tag & its Attribute

HTML Tag <ADDRESS>

<ADDRESS> In a document, distinguishes an address from normal document text.

Attribute of <ADDRESS> Tag

ALIGN

Indicates how the address text is aligned within the document. ALIGN=LEFT positions the address text flush with the left side of the document. ALIGN=RIGHT positions the address text flush with the right side of the document. ALIGN=CENTER centers the address text between the left and right edges of the document.

<ADDRESS ALIGN="CENTER">Dinesh , Allahabad</ADDRESS>


Possible Values

LEFT
RIGHT
CENTER



CLASS

Indicates the style class to apply to the <ADDRESS> element.

<ADDRESS CLASS="casual">
Dinesh Maurya, Alhhabad, India</ADDRESS>


Possible Values

Any Class name that you define.



ID

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

<ADDRESS ID="add">Dinesh Maurya, Allahabad, INDIA
</ADDRESS>


Possible Values

Any ID that you define.



STYLE

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

<ADDRESS STYLE="background: red">


Possible Values

Any 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 address text.

<ADDRESS TITLE="Address">


Possible Values

Any Text Message.




CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials 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 Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz