We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is an HTML Address?

By Eugene P.
Updated: May 17, 2024
Views: 8,800
References
Share

In the HyperText Markup Language (HTML), as with many computer programming languages, the term "HTML address" can have more than one meaning. It can refer directly to the HTML address tag, which is a formatting tag that defines a block of text as containing information about the person, company or team that designed the particular web page or website being viewed. Alternately, it sometimes is loosely used to refer to a universal resource locator (URL) that points to an HTML document, such as the address of a web page. When used as an HTML tag, the block of address text will display on the browser page as if it were a normal element, except that some browsers will render the text in italics by default, in which case the behavior must be overridden through the use of cascading style sheets (CSS) to remove the italics.

The HTML address tag is a block-level tag that defines the text between the opening and closing tags as the address of the creator of the page. Exactly what this address constitutes is left up to the author of the website, but it generally is intended to be a name, phone number, physical address or email address so a person viewing the page has an immediate way to contact the creator. Within the HTML document, the address will be displayed wherever the tag has been placed, just like any other block-level element, with the exception that some browsers will draw the text in italics by default to differentiate it from other text on the page.

Most commonly, the HTML address tag is meant to be included in the footer of a webpage, meaning it will appear at the bottom of the page. The tag operates just like any other block-level HTML tag and can be modified with CSS or set to react to user input such as mouse movements. Even though the contents are intended to be an address, no formatting is applied to the block of text unless the user has explicitly defined it, such as with line breaks. The text in the address tag is accessible through the document object model (DOM), meaning the address can be specifically targeted and manipulated within a website.

A more informal definition of an HTML address is the location of an HTML document on the Internet. This can include only the primary domain name of a site, which normally defaults to an HTML file called index.html, or it can be a longer URL that specifies one file within a larger directory. An HTML address also can be any URL that is included within an HTML document that points to a resource, such as an image file, in relation to the location of the HTML document, also called a relative address.

Share
WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Link to Sources

Editors' Picks

Discussion Comments
Share
https://www.wisegeek.net/what-is-an-html-address.htm
Copy this link
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.