address tag in html
- The <address> tag defines the contact information for the author or owner of a document. This way, the reader is able to contact the document's owner.
- The address element is usually added to the header or footer of a webpage.
- In most browsers the address would be rendered in italic type. Most browsers will also add a line break before and after the address element.
- The <address> is supported in all major browsers.
Example 1 :
<html>
<head><title>Address</title>
</head>
<body>
<address>
Flat No 303, sec-22,
Plot no 13, near garden,
amazing heights,
Richmond city.
Pincode-100001
</address>
</body>
</html>
Demo :
Example 2 : Address with title attribute
<html>
<head><title>Address</title>
</head>
<body>
<address title="Welcome">
Flat No 303, sec-22,
Plot no 13, near garden,
amazing heights,
Richmond city.
Pincode-100001
</address>
</body>
</html>
Demo :
0 comments:
Post a Comment