Forum Moderators: open
Line 136, Column 18: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name="more"> </a>
And what about backward compatibility?
Apparently the <address> tag throws out the style sheet specification for <p> and substitutes its own styling (=italics)
Anything that's done by default can be overridden in css. In fact for insurance it's a good idea to reinforce defaults:
address {font-style: italic;}
to make sure browsers don't get bright ideas next year. So then you can go to
address {font-style: normal; font-weight: normal; text-align: left;}
address p {further-details-here}
An image, by itself, is an inline element. So as far as I know, you're allowed to put one absolutely anywhere.
<address id="contact">
<br />
<p class="center"><strong>Contact Information</strong></p>
<p>The contact email address is shown below. Please use it to make comments and suggestions, or to report broken links.</p>
<br />
<div style="max-width: 360px; margin-left: auto; margin-right: auto; border-width: 0px; padding: 2px; text-indent: 0px">
<img src="mail.gif" style="width: 100%; margin: 0 auto" alt="email">
</div>
<br />
<hr style="height: 2px">
</address>
<address id="contact">
<br />
<p class="center"><strong>Contact Information</strong></p> <p>The contact email address is shown below. Please use it to make comments and suggestions, or to report broken links.</p> <br />
<div style="max-width: 360px; margin-left: auto; margin-right: auto; border-width: 0px; padding: 2px; text-indent: 0px">
<img src="mail.gif" style="width: 100%; margin: 0 auto" alt="email">
</div>
<br /> div.whatsit img <hr style="height: 2px">
</address>
section+section {
border-top: 2px solid black;
}
In HTML5, the <hr> tag defines a thematic break.
In HTML 4.01, the <hr> tag represents a horizontal rule.
However, the <hr> tag may still be displayed as a horizontal rule in visual browsers, but is now defined in semantic terms, rather than presentational terms.
"But nearly fifteen years after its creation, it's still causing confusion among developers"
But I was able to make an interpretation, specifically that you are probably allowed to put almost any kind of contact information inside the <address> elementAnd, specifically, it's stated you can't.
I'm going to adopt the position that anything which validates must be within the rules.The validator checks tags and not content so you can have invalid content but still validate.
The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.
The address element must not be used to represent arbitrary addresses (e.g. postal addresses), unless those addresses are in fact the relevant contact information. (The p element is the appropriate element for marking up postal addresses in general.)
The address element must not contain information other than contact information.
But I was able to make an interpretation, specifically that you are probably allowed to put almost any kind of contact information inside the <address> element, even links to other websites.
<footer>
<address>
<p>The contact email address is shown below. Please use it to make comments and suggestions, or to report broken links.</p>
<img src="mail.gif" alt="email">
</address>
<p>Copyright © 2013 John Doe</p>
</footer>
For example, a page at the W3C Web site related to HTML might include the following contact information:
<ADDRESS>
<A href="../People/Raggett/">Dave Raggett</A>,
<A href="../People/Arnaud/">Arnaud Le Hors</A>,
contact persons for the <A href="Activity">W3C HTML Activity</A>
</ADDRESS>
In this example the footer contains contact information and a copyright notice.
<footer>
<address>
For more details, contact
<a href="mailto:js@example.com">John Smith</a>.
</address>
<p><small>© copyright 2038 Example Corp.</small></p>
</footer>
Sources:
http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-address-element
http://developers.whatwg.org/sections.html#the-address-element