how to use html5 attribute 'role'?

Joined
Dec 23, 2013
Messages
323
Points
18
'role' attribute in html5 used as an indication. It will be very useful on server side processing and usability issues. Coming complexity, it will explains the role of complexity of a particular section in the website. The common roles like logo, menu, main container, sidebar...

We will mostly use role attribute in html 5 and css 3 based web site designing means responsive web designing and mobile apps designing.

I have read in j query dot com about this role attribute. You just go through the demos and examples which are given in j query dot com, you can know more.
 

Jack London

New member
Joined
Jul 9, 2012
Messages
386
Points
0
Hey arronmattwills, can you show any examples or information about 'role' in html5 in detail in this thread. This is the first time I've ever heard about that.
 
Joined
Dec 23, 2013
Messages
323
Points
18
Hey arronmattwills, can you show any examples or information about 'role' in html5 in detail in this thread. This is the first time I've ever heard about that.
Oh surely i will tell you dear.
But you have to remember that it will not support the old browsers like IE8 and main purpose of this role attribute to use in mobile apps design.

Please see the following link then you can get an idea on this concept.
 
Newer threads
Replies
33
Views
10,611
Replies
1
Views
3,282
Replies
19
Views
6,134
Latest threads
Recommended threads
Replies
6
Views
4,720
Replies
2
Views
5,016
Replies
4
Views
3,490
Replies
24
Views
9,489

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top