These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:20 pm Advanced search

<aside> for sidebar?

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

<aside> for sidebar?

Postby mgw » Tue Sep 22, 2009 3:22 pm

Hi everybody,

I m wondering if the use of the aside-element in the WHATWG-example page is correct. It is used for the sidebar on the right.
In my understanding this is not the way it should be used, because it is not directly related to any content.

The Specification and the article on HTML5-Doctorsays the same.

What do you think? Am I right?
mgw
<h6>
 
Posts: 1
Joined: Tue Sep 22, 2009 3:09 pm

Re: <aside> for sidebar?

Postby zcorpan » Wed Sep 23, 2009 4:59 pm

mgw wrote:Hi everybody,

I m wondering if the use of the aside-element in the WHATWG-example page is correct. It is used for the sidebar on the right.
In my understanding this is not the way it should be used, because it is not directly related to any content.
It's "tangentially" related to the content, no?

mgw wrote:The Specification and the article on HTML5-Doctorsays the same.

As I said in a comment on the html5doctor article:
zcorpan wrote:<aside> was actually originally called <sidebar> in the spec, so at least it is intended to be used for sidebars in general.

The spec has since been changed to make it clearer that it's ok for sidebars, and even has an example using <aside> for a sidebar.
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest