<address> HTML Tag
In this article I explain the <address> tag,which is ued for indicating the address.
Introduction
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. Everything written inside the address tag can become in italic way.
Some of the attributes of <address> tag
Attributes |
Description |
class |
Specifies a classname for an element |
dir |
Specifies the text direction for the content in an element |
id |
Specifies a unique id for an element |
Style |
Specifies an inline style for an element |
title |
Specifies extra information about an element |
lang |
Specifies a language code for the content in an element |
Lets take an example of <address> tag
<html>
<head>
<title></title>
</head>
<body>
<address>
MCN Solution pvt.Ltd.<br>
H-217, Second Floor, Sector 63<br>
Noida, U.P 201301<br>
</address>
</body>
</html>
|
Output
MCN Solution pvt.Ltd.
H-217, Second Floor, Sector 63
Noida, U.P 201301
Ask Your Question
Got a programming related question? You may want to post your question here