What’s an HTML address?

Print anything with Printful



The term “HTML address” can refer to the HTML address tag or a URL pointing to an HTML document. The tag defines the page creator’s contact information and is often placed in the footer. It can be modified with CSS and targeted within a website.

In HyperText Markup Language (HTML), as in 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 containing information about the person, company, or team that designed the particular web page or website being viewed. Alternatively, it is sometimes 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 address text block will appear on the browser page as if it were a normal element, except that some browsers will italicize text by default, in which case the behavior should be overridden by using cascading style sheets (CSS) to remove 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 page creator. What exactly constitutes this address is left to the website creator, but is generally understood 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 appear wherever the tag is placed, just like any other block-level element, with the exception that some browsers will italicize text 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 web page, meaning it will appear at the bottom of the page. The tag works 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 if the content is intended as an address, no formatting is applied to the text block unless the user has explicitly defined it, such as with line breaks. The text in the address tag is accessible via the document object model (DOM), which means that 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 just a site’s primary domain name, which is normally set to an HTML file called index.html, or it can be a longer URL specifying a file within a larger directory. An HTML address can also be any URL included in an HTML document that points to a resource, such as an image file, relative to the location of the HTML document, also called a relative address.




Protect your devices with Threat Protection by NordVPN


Skip to content