The new attributes for SPAN and DIV

Brian Wilson (bloo@blooberry.com)
Sat, 15 Nov 1997 22:04:38 -0800


Message-ID: <346E8CF6.E2145BC4@blooberry.com>
Date: Sat, 15 Nov 1997 22:04:38 -0800
From: Brian Wilson <bloo@blooberry.com>
To: www-html@w3.org
Subject: The new attributes for SPAN and DIV 

The DTD [1] and documentation [2] list many new attributes for 
the SPAN and DIV elements (charset, href, hreflang, media, rel, 
rev, target and type.) The documentation, however, does not 
really explain what these attributes should DO in the context of 
these elements.

The DTD declaration for these elements says
  "generic language/style container"
but the new attributes are not generally used for this purpose. 
Are these new attributes attempts to expand the behavior of these 
elements - maybe to make DIV and SPAN even more "generalized" 
in-line and block elements? Could SPAN be used as a generic 
in-line hyperlink? (how this would need to be different from the 
A element escapes me without further explanation.) Additionally, 
could DIV be used as a generic block-level hyperlink?

Curious minds (me) wish to know... 

-Brian 

[1] <URL:http://www.w3.org/TR/PR-html40/sgml/dtd.html>
[2] <URL:http://www.w3.org/TR/PR-html40/struct/global.html#h-7.5.4>
-- 
Brian Wilson -----------------------"Those aren't Sex muffins!   -Coach
bloo@blooberry.com ------------------Those aren't Love muffins! 
http://www.blooberry.com/ -----------Those are just BLOOberry muffins!"
Creator of Index DOT Html: http://www.blooberry.com/html/intro.htm