mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01:00
Fix typo in navs.md (#25404)
This commit is contained in:
parent
96a9e98e49
commit
3e2fbd5fb0
@ -347,7 +347,7 @@ Note that dynamic tabbed interfaces should <em>not</em> contain dropdown menus,
|
||||
</div>
|
||||
{% endhighlight %}
|
||||
|
||||
To help fit your needs, this works with `<ul>`-based markup, as shown above, or with any arbitrary "roll your own" markup. Note that if you're using `<nav>`, you shouldn't add `role="tablist"` directly to it, as this would override the element's native role as a navigation landmark. Instead, switch to an alternative element (in the exammple below, a simple `<div>`) and wrap the `<nav>` around it.
|
||||
To help fit your needs, this works with `<ul>`-based markup, as shown above, or with any arbitrary "roll your own" markup. Note that if you're using `<nav>`, you shouldn't add `role="tablist"` directly to it, as this would override the element's native role as a navigation landmark. Instead, switch to an alternative element (in the example below, a simple `<div>`) and wrap the `<nav>` around it.
|
||||
|
||||
<div class="bd-example bd-example-tabs">
|
||||
<nav>
|
||||
|
Loading…
x
Reference in New Issue
Block a user