Forum Moderators: open

Message Too Old, No Replies

<address> tag

         

csdude55

6:01 am on May 22, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This was a new one to me:

[developer.mozilla.org...]

So now I'm curious... does using this tag have any impact on search engines, sorta like how an H1 tag would?

My initial thought is to use it in my classifieds (and maybe message boards) to show the author of the listing (or post), along with whatever contact info they've provided. I don't want it in italics, though, so I would have to re-style it. I'm not sure if it's worth use in lieu of a DIV tag, though, unless there's an SE value.

phranque

7:12 am on May 22, 2020 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



the <address> element has been around for more than 20 years (HTML 4.01):
https://www.w3.org/TR/html401/struct/global.html#h-7.5.6
contact information is a proper usage for this element.

NickMNS

3:07 pm on May 22, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I doubt there would be any benefit, due to it's low rate of adoption. But it certainly wouldn't hurt anything either. Using schema markup, on the other hand is more likely to be beneficial.

lucy24

5:22 pm on May 22, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Have they gone and redefined <address> too? My very first web pages--dating from the late 90s--all had an <address> or rather <ADDRESS> at the bottom, but it is many years since I got rid of it. Cursory lookup suggests it goes back at least to HTML 2.0 [w3.org] (Forums software will probably eat the fragment link #SEC5.5.3)

:: detour to HTML 5.0 docs ::

For example, the following is non-conforming use of the address element:

<ADDRESS>Last Modified: 1999/12/24 23:37:50</ADDRESS>
Hee. Translation: “If you haven’t modified this element since 1999, it is high time you did so.”


Yes, forums software ate the #SEC5.5.3 part. You can paste this in the browser's address bar to visit the linked section: https://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.3

[edited by: not2easy at 2:09 pm (utc) on Jun 15, 2020]
[edit reason] #fix [/edit]

csdude55

12:35 am on May 23, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I can't help but laugh at myself sometimes... I seriously started coding in like '97, but I'm self taught and learned Perl before I learned HTML! So I know SOME things that are ridiculously complicated, while still not knowing some things that would have been covered in the first week of class! LOL

I have honest-to-God never seen <address> or <time> until yesterday. It's funny, common tags like <font> were deprecated, but a tag like <address> is still fine... and worse, it's OK to use for a TELEPHONE number! I mean, wouldn't a <contact> tag have made a lot more sense if it's used to enclose contact information?

Some days it just makes no sense at all...