[html5] Is <aside> suitable for an advertising in <article>?

Ian Hickson ian at hixie.ch
Thu Oct 8 18:59:20 PDT 2009


On Fri, 9 Oct 2009, Futomi Hatano wrote:
> 
> I'm a little confused about using <aside> for an advertising such as Google AdSense.
> The spec says that <aside> can be used for advertising.
> But the example code in the spec says:
> "it would be wrong, for instance, to put the blogroll here, since the blogroll isn't really related to this post specifically, only to the page as a whole"
> 
> If I want to include an advertising in a blog post (<article>), can I use <aside> for that?
> I think that <aside> is most suitable element for this case, because screen readers can decide that it is not important for the article.
> But the example in the spec seems to say "no", as the blogroll is similar to the advertising.

If the advertising would be syndicated along with the rest of the article, 
then it is related to the article enough that <aside> would be fine. 
Otherwise, you can just put the advertising in an <aside> that is outside 
the <article> element.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the Help mailing list