I know Bootstrap 3
has a horizontal divider you can place inside of dropdown menus to separate links like this:
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2">
<li role="presentation" class="dropdown-header">Dropdown header</li>
...
<li role="presentation" class="divider"></li>
</ul>
My question is: Is there any way to do this without it being in a dropdown, such as putting it into any kind of list or similar menu?
` is even better. – Erwin Mayer Nov 21 '16 at 03:44
` is for XHTML. In HTML 4 or 5 it's just `
` – Dave Dec 01 '16 at 20:42
should not be used for presentation purpose like in OP case. It is for thematic change in paragraphs. Just like one should not use P tag to format controls. – KMC Feb 03 '20 at 20:03