how to code a straight horizontal line in html code example Example: horizontal line html <!-- code --> <hr> <!-- code -->