In the past I've fallen into the trap of creating a special class for rendering lines or separators in an HTML document and assigning the class to a div, ending up with something like <div class="line"></div> or something along those lines. Not only is this not semantic, it's a whole bunch of extra unecessary HTML code which can be simplified by styling and using the often forgotten <hr> tag.
Default style for the hr tag
The default browser styling for the <hr> tag is this:



Recent comments
20 weeks 2 days ago
21 weeks 6 days ago
21 weeks 6 days ago
21 weeks 6 days ago
21 weeks 6 days ago
21 weeks 6 days ago
21 weeks 6 days ago
21 weeks 6 days ago
21 weeks 6 days ago
21 weeks 6 days ago