HTMLs Tutorial

HTML Tutorial HTML Tags HTML Basic Tags HTML Attributes HTML Elements HTML Formatting HTML Text Format HTML body tag HTML samp tag HTML script Tag HTML section tag HTML select tag HTML source tag HTML span tag HTML strike tag HTML strong tag HTML style tag HTML sub tag HTML summary tag HTML sup Tag HTML svg tag HTML table tag HTML u tag HTML Headings HTML Paragraphs HTML wbr tag HTML Anchor HTML Image HTML Lists HTML Ordered List HTML Unordered List HTML Form HTML Form input HTML with CSS HTML Layouts HTML References HTML Frames HTML Links Fieldset Tag in HTML Basic HTML Tags Br Tag in HTML Free HTML Templates How to Create a Table in HTML HTML Calendar HTML Card HTML Cellspacing HTML Center Image HTML Checkbox Read-only HTML Cleaner HTML Code for a Tab HTML Comment HTML Compiler HTML Nested Forms HTML Overlay Text on the Image HTML Select Option Default HTML Snake Game HTML Subheader HTML Tab Character dd Tag in HTML How Many HTML Tags are There HTML Align Tag HTML Responsive HTML Tab Code HTML Table Alternate Row Color HTML Table Fix Column Width Contact HTML DL Tag in HTML How to Insert Image in HTML HTML Background Color HTML Dark Mode How to Convert HTML to PNG HTML Data Toggle HTML Email Template HTML Font Color HTML Font Family ID and Class in HTML HTML Tab Space HTML Tab Tag HTML Itemprop HTML Itemscope HTML Form Design HTML Input Only Numbers HTML Textarea HTML to JPG HTML to Markdown Python li Tag in HTML MDN HTML What is the Correct HTML for Making a Hyperlink? What is the Root Element of an HTML Document How to Make a Box in HTML How to Save HTML Files in Notepad How to Align Text in HTML How to Change Font Color in HTML? How to Change Font Size in HTML How to Change Image Size in HTML How to Create a HTML Page How to Create a Link in HTML File? How to Create an HTML File? HR Tag in HTML HTML Base Tag HTML Default Attribute HTML Hyperlink HTML Indent HTML Injection Payloads HTML Input Numbers Only HTML Roadmap HTML Row Height HTML Schedule HTML Space HTML Tab HTML vs HTTP HTML5 API HTML5 Video HTML Collection to Array Text Area in HTML

HTML5 Advance

HTML5 Tutorial HTML5 Tags HTML Button Tag HTML canvas Tag HTML caption Tag HTML City tag HTML Tag HTML5 SVG HTML Event Attribute HTML5 Audio HTML5 Youtube HTML5 Button Tag HTML5 Tags

Misc

How to add JavaScript to HTML How to change font in HTML How to change text color in HTML HTML Date HTML Hide Element HTML Nested Table HTML Reset Button What does HTML stand for? HTML Background Image HTML Tag Div Tag in HTML How to insert Image in HTML How to create a link with no underline in HTML How to insert spacestabs in text using HTMLCSS HTML tag HTML Code HTML Tag HTML Canvas Design a tribute page using HTML and CSS What is a Container tag Font tag in HTML Difference between HTML and DHTML Empty Tag in HTML HTML Button Link Html Line Break Img src HTML Nested List in HTML Placeholder in HTML TD in HTML HTML Space Code HTML Target Attribute HTML Tag Markup Meaning in HTML Border-Collapse in HTML HTML Onclick Online HTML Compiler Convert HTML to PDF HTML Formatter HTML5 - Web Storage HTTP – Responses Container Tag in HTML DL Tag in HTML Horizontal Rule HTML HTML Tab Text Html Table Cell Background Color HTML Table Cell Color HTML Col Width How Many HTML Tags are There Convert String to Unicode Characters in Python HTML Runner HTML Style Attribute HTML Superscript Attribute HTML tabindex Marquee Tag in HTML HTML Dynamic Form HTML side Tag HTML Pattern Attribute HTML q Tag HTML Readonly Base 64 Encoding in HTML Documents Enhancing Data Portability and Security Evo Cam Web Cam HTML Free code camp HTML CSS How to Add a JS File in HTML? How to Add Picture in HTML How to Add the Logo in HTML? How to Add Video in HTML HTML Class Attribute HTML Entities HTML Form Elements HTML Form Templates HTML Marquee Tag HTML Radio Buttons HTML Text box HTML to JSX HTML Tooltip Basic HTML Codes How to Align Image Center in HTML HTML Header Tag HTML Image Tag HTML Next Line HTML Plain Text HTML Popup Hspace in HTML HTML Interpreter HTML Maker HTML Nav Tag HTML Nested List How to create cards in HTML HTML Writer OnKeyDown in HTML Onmove in HTML Strip HTML Tags from String Style Dark Mode in HTML Automatic Image Slider in HTML CSS Base 64 Encoding in HTML Documents Enhancing Data Portability and Security Evo Cam Web Cam HTML Free code camp HTML CSS How to Add a JS File in HTML? How to Add Picture in HTML How to Add the Logo in HTML? How to Add Video in HTML HTML Class Attribute HTML Entities HTML Form Elements HTML Form Templates HTML Marquee Tag HTML Radio Buttons HTML Text box HTML to JSX HTML Tooltip Basic HTML Codes How to Align Image Center in HTML HTML Header Tag HTML Image Tag HTML Next Line

HTML <address> Tag

Hyper Text Markup Language, HTML is the best markup language for creating Web pages. HTML consists of a wide variety of elements. In all of these elements, one element is most important for providing websites Author Information, which is the address tag.

The contents of an <address> element can contain any type of contact information that is required, such as geographical coordinates, a physical address, a URL, an email address, a phone number, and so on the form that the contact information takes depends on the context. The name of the individual(s) or group(s) to whom the contact information pertains should be included in the <address> element.

The term "address" has many applications, including displaying a company's contact information in the page header and identifying the right author of an article by including an "address" element in the "article" tag.

The contact information written between <address> tags mostly render in the italic form on the browser.

Syntax of <Address> tag in HTML

<address><h3For More Details<h3>
<a href = "https://www.tutorialandexample.com">Know More About Html </a>
</address>

Example of <Address> tag in HTML

<!DOCTYPE html>
<html>
<body>
<h1>The address element</h1>


<address>
Written by <a href="mailto:[email protected]">John Doe</a>.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Los Angeles<br>
USA
</address>


</body>  

Output

Html <address> Tag

The <address> tag must be contained inside the <article> element if you want to specify an article's author's information.

The majority of browsers add a line break before and after the element, and the data in the tag is displayed in italics.

Styling Of Address Tag

  • You can use some of this attribute to style the address tag.
  • CSS Font Style: The CSS font-style attribute controls the font style. initial; standard; italic; oblique; inherit
  • CSS Font Family: For the selected element, it specifies a prioritized list of one or more general family names and/or font family names.
  • Font size is controlled via the CSS attribute.
  • The CSS Typeface Weight property of a font controls whether it should be thick or bold.
  • Text decoration is described by the CSS property text-decoration, which is short for text-decoration-line, text-decoration-color, and text-decoration-style.

Important Points in Address Tag

  • If there is a footer for the current section, it is formalized to place an <address> element there.
  • Previously, an <address> element could only be used to indicate the author of the document's contact information. However, in the latest versions definition has been improved because it can now also be used to markup arbitrary addresses.
  • Publication date or other information instead of contact information should not be included in an address element (instead, use the <time> tag).
  • The only type of content that may be used in an address tag is flow content, which implies that an address tag cannot be used as a parent of another address element or as a child of another address element
  • Most browsers will change in italic the text inside the <address> tag, but CSS styling allows you to change this behavior.
  • Except when those addresses contain the section's contact details, the address tag may not be used to indicate arbitrary addresses (such as postal addresses). You only need to use the <p> tag to display postal addresses.
  • <article>, <aside>, <nav>, <section>, <header>, <footer>, <hgroup, h1-h6 and other address> components are not permitted in the <address> tag.
  • Use HTML5, a JavaScript workaround, to enable the new HTML5 elements like <main>, <header>, <article>, <section>, <nav>, <aside>, and <footer> in Internet Explorer browsers older than IE 9.

Attributes

The <address> tag does not currently have a specific attribute that should be used with it.

1. Global Attribute

The HTML5 <address> tag supports all the attributes similarly to all other existing HTML tags.

2. Event Attribute

The address tag in HTML 5 supports all the event attributes.

Browser Compatibility

  • Chrome
  • Safari
  • Opera
  • Firefox

Conclusion

Address tag helps to provide authors information on who designs any website or blog. In the form of Link URL, email information, address, etc. It is very useful in emergencies and helps from the website author. It shows in italic form and you can give your styling by CSS. This tag is embedded in the article tag.