This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5060 - address tag
Summary: address tag
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: 0.8.1
Hardware: PC All
: P4 minor
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://www.lehmbergconsultores.es
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 08:12 UTC by Gustavo
Modified: 2007-09-19 09:11 UTC (History)
0 users

See Also:


Attachments

Description Gustavo 2007-09-19 08:12:56 UTC
When validating a web (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.lehmbergconsultores.es%2F%3Fdo%3Dcontacta&charset=%28detect+automatically%29&doctype=Inline&group=0)
validation of <address> Tag fails:

-- ERROR MESSAGE --
Line Y, Column X: document type does not allow element "ADDRESS" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.


The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
-- END OF ERROR MESSAGE --

And this is a valid tag in HTML 4.01 Transitional:
http://www.w3schools.com/tags/tag_address.asp

And a discussion about this:
http://alastairc.ac/2006/12/depricate-the-address-element/
Comment 1 Olivier Thereaux 2007-09-19 09:11:23 UTC
Noone said the address tag was invalid, just that it was not allowed *here*.

Reading the error message explanation will point out that you can't have a block element (address) in an inline element (a).