Here is what the HTML5 spec says:
- The
address
element represents the contact information […]
- The
address
element must not be used to represent arbitrary addresses […]
Isn't it ridiculous? They say "Don't use <address>
for address". Why would they name that element address then? Maybe they had to name it <contacts>
?
They say: "The p
element is the appropriate element for marking up postal addresses in general" but hey, the <p>
element is appropriate for anything then. It can be a piece of novel …
If you want to markup a company postal address in their site's footer what do you use? Just <p>
? I don't think it's a paragraph there, do you?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…