IzzyTwinkly
asked on
the use of role attribute
Hi guys,
I am studying bootstrap from W3schools.
what is the use of 'role' attribute?
can it have a different value than 'menu' here?
Is it required?
I am studying bootstrap from W3schools.
what is the use of 'role' attribute?
can it have a different value than 'menu' here?
Is it required?
<div class="btn-group">
<button type="button" class="btn btn-primary">Apple</button>
<button type="button" class="btn btn-primary">Samsung</button>
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
Sony <span class="caret"></span></button>
<ul class="dropdown-menu" [b]role="menu"[/b]>
<li><a href="#">Tablet</a></li>
<li><a href="#">Smartphone</a></li>
</ul>
</div>
</div>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER