What is more semantic if I need to choose between an <hr> or an additional <div> shell?
To make a separator in one specific project where I work, I need to make a separator between groups of several elements. I have only two options: either I can wrap the elements (the internal elements are not the same in height) inside <div>, or I can use <hr>.
If I use an extra div, it will only do the delimiter.
What is more semantic, one additional divor hr?
+3
2 answers