SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 27 of 27
  1. #26
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    51 Post(s)
    2 Thread(s)
    I thought there is but one document outline (per document). However for syndication reasons, your articles and maybe also sections? can be thought of as separate, smaller documents themselves. That is, they can have a document-like structure (<header>, <hgroup>, <footer>, <aside> and a body of content in the middle, though you would not add the "main" role to that body since articles are indeed not really separate documents).

    Basically I'll wait until either the new semantics actually mean something to UAs, or at least don't require Javascript (IE6-9) to be read and/or don't interfere with the current generation of AT. Those last two are pretty much keeping me away from using many HTML5 elements, and eventually those two reasons will go away. I mean, being able to call any header "header" means leaner CSS and Javascript targetting, for example.

    I also find it rather retarded how they (WGs) decide some stuff: they add this "hidden" attribute that does nothing special (and will absolutely be abused by people who don't have any clue what it's for, esp since it doesn't really have any use cases), yet want to remove half-broken stuff from HTML4 without at least trying to replace them with something similar that does work (longdesc, table summary). The arguments against those last two could give a kung-fu kick to "hidden" attribute and send it flying into deep space, never to be heard from again.

  2. #27
    SitePoint Addict
    Join Date
    Jul 2011
    0 Post(s)
    0 Thread(s)
    I saw an idea recently that I thought was interesting, which was meant to address the emergence of responsive design, a <picture> element. It goes like this, similar to the <audio> element:

    <picture alt="angry pirate">
    <source src=hires.png media="min-width:800px">
    <source src=midres.png media="min-width:480px">
    <source src=lores.png>
    <!-- fallback for browsers without support -->
    <img src=midres.png alt="angry pirate">


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts