https://htmx.org logo
Tabs could be similar defined like so: ```html > <...
# missing_dot_css
g
> Tabs could be similar defined like so: >
Copy code
html
> <div role="tab">
>   <a href="/foo">Tab 1</a>
>   <a href="/foo">Tab 2</a>
>   <a href="/foo">Tab 3</a>
> </div>
>
> We would like to explore using the role attribute for this.
Copy code
html
<div role="tablist">
  <a role="tab" href="/foo">Tab 1</a>
  <a role="tab" href="/foo">Tab 2</a>
  <a role="tab" href="/foo">Tab 3</a>
</div>