C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
HTML <address> tagHTML <address> tag is used to specify the authorship information of the article or webpage. It can contain any type of information which is needed such as, URL, physical address, phone number, email, other links, etc. The <address> tag is useful for various contexts such as business contact information in the header of the page, or author related contact information, etc. The contact information written between <address> tags mostly renders in the italic form on the browser. Note: To represent a random address use <p> tag instead of <address> tag, as it should contain the main contact information.Syntax<address>Contact Author at:<br> <a href="mailto:example@gmail.com">Example@gmail.com</a></address> If you want to specify the information of the author for an article, you must place the <address> tag inside the <article> element. Following are the specifications of <address> tag:
Example<!DOCTYPE html> <html> <head> <title>Address Tag</title> </head> <body> <h2>Example of Address tag</h2> <address>The article is written by:<b>Harshita</b> <br>Contact Author at: <a href="mailto:example@gmail.com">Example@gmail.com</a><br>You can also visit our blog: <a href="http://TheDeveloperBlog.blogspot.com/">javaTpoint blog</a> </address> </body> </html> AttributesThe <address> tag does not contain any specific attribute for it. Global Attribute:The <address> tag supports the global attributes. Event attribute:The <address> tag supports all Events attributes. Supporting Browsers
Next TopicHTML applet Tag
|