>
> Reese said:


> Some legacy sites are not ready for HTML5 conversion. Then, I'm not
> so sure about this method even for new development. Because:
>
> Divs are block-level elements, anchor tags are line-level elements.
> Loosening the standards to permit inserting block elements inside
> of line elements seems like throwing the standards out with the
> bath water. Else, there is a leveling between the two and the
> distinction will go away completely... eventually.
>

Whether we are comfortable with this change or not, this is the HTML5
standard, and it works great.  As far as I know there is no browser that
does not support wrapping any number of block level elements in an <a> tag.
Standards evolve and, while this one is certainly counter to what we've
learned up to now, the fact that it is now part of the HTML5 spec kind of
makes moot the discussion over whether one "should."  Remember, that the
docype you chose is about validation, and not browser rendering.  IE5.5
(oldest browser I have on hand) will support wrapping block level elements
in an <a> no matter what doctype you use.  We also no longer have to self
close tags, quote attributes, or include "types" for CSS and JS.  Does that
seem different to you?  Or are you cool with those changes?  Honestly, I
bristle at the loosening of some of these standards, but wrapping block in
an <a> seemed like a good change to me.


>
>
> Much easier to read when reading the source code. Drop the self-
> closing img tag for HTML 4.01 and earlier.
>

This was an earlier example of standards changing.  If we accepted that
there were different rules from before HTML 4.01 to XHTML, then why not HTML
5 as well?  Perhaps because anal-retentive coders like me loveed it when
more rules were added and not so much the reverse?


>
> Reese
>
>
All this said, there are certainly parts of HTML5 that are not supported in
older browsers (new elements, input types, canvas obviously), but I disagree
that wrapping blocks in <a>s is one of them.

Tim


-- 
-----------------------------------------
[email protected]
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to