HTML address Tag

  • HTML <address> tag describes an address information. <address> tag use in footer section of web document when you write an address of website.

Example

<!DOCTYPE html>
<html>
<head>
  <title>HTML address tag</title>
</head>
<body>
  <address>
    XYZ Shipyard Pte. Ltd.<br />
    North University Road<br />
    Near West Cloth bazar<br />
    Bronx, 10474<br />
    New York, United States
  </address>
</body>
</html>

Run it...   »

Global Attributes

<address> tag also support global attributes.

Attributes Value Description
id unique_name Declared unique id for an element.
class class_name Declared one or more classnames for an element.
style styles CSS inline styles specify an element.
title title Specify extra details of element contain, this will display as a "tooltip" for an elements.

Event Attributes

<address> tag support following Event attributes.

Attributes Value Description
onfocus script element gets focus on object when script tobe run.
onblur script element lose the focus on object when scrip tobe run.
onclick script clicked on object when script tobe run.
ondblclick script double click on object when script tobe run.
onkeydown script key is pressed when script tobe run.
onkeypress script key is pressed over element then released when script tobe run.
onkeyup script key is released over element when script tobe run.
onmousedown script mouse button was pressed over an element when script tobe run.
onmouseout script mouse pointer release over an element when script tobe run.
onmousemove script run mouse pointer moved when script tobe run.
onmouseover script run mouse pointer move over when script tobe run.
onmouseup script mouse button is released when script tobe run.

Browser Compatibility

  • Google Chrome
    Yes
  • Mozilla Firefox
    Yes
  • Microsoft Edge
    Yes
  • Opera
    Yes
  • Safari
    Yes