how to use html5 attribute 'role'?

arronmattwills

Well-known member
Registered
Joined
Dec 23, 2013
Messages
191
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

Well-known member
Joined
Jul 9, 2012
Messages
158
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.
 

arronmattwills

Well-known member
Registered
Joined
Dec 23, 2013
Messages
191
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.
 

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

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