Quote:
Originally Posted by cybmole
so what would your example code do on a web page, or in a document - it has no attached URL so I don't get the point of it, still ? is it just a style thing ?
|
It's not entirely a style thing, though most web browsers will display text between the opening and closing ADDRESS tags in italics. It's more to do with information semantics, and coding stuff according to its semantic context. Same idea as coding a heading using a heading tag rather than simply using a paragraph tag and styling it to
look like a heading.
The <address> tag is really meant to code something as a meaningful address, such as the address of the author of a page, or the company whose website it is, etc. It's not intended for web addresses with URLs - it's meant for use with bricks and mortar addresses.
In theory, the software being used to access the web page could then extract the info and present it to the user on request. In practice, the <address> tag is hardly ever used, and I don't know of any software that makes use of it to extract the information.