About 4,330,000 results
Open links in new tab
  1. HTML hr tag - W3Schools

    The <hr> tag defines a thematic break in an HTML page (e.g. a shift of topic). The <hr> element is most often displayed as a horizontal rule that is used to separate content (or define a change) …

  2. <hr>: The Thematic Break (Horizontal Rule) element - HTML | MDN

    Aug 13, 2025 · While it may still be displayed as a horizontal rule in visual browsers, this element is now defined in semantic terms, rather than presentational terms, so if you wish to draw a …

  3. How to add horizontal line in HTML - GeeksforGeeks

    Jun 17, 2025 · These lines help separate different sections of content, making it easier for users to read and understand the information presented. In this guide, we’ll explore two effective …

  4. How to add a horizontal line in HTML with the hr tag - IONOS

    Dec 16, 2025 · What is an HTML horizontal line? An HTML horizontal line is used to draw a visible and continuous dividing line between two paragraphs or other meaningful sections in an …

  5. HTML <hr> Tag - W3docs

    In previous versions of HTML, it was used to draw a horizontal line on the page visually separating the content. In HTML5 it has a semantic tag meaning. The <hr> tag is empty, which …

    Missing:
    • horizontal line
    Must include:
  6. 2 Easy Ways to Create and Style a Horizontal Line in HTML - wikiHow

    Mar 10, 2025 · Adding a horizontal line in HTML is really easy. You can also style the horizontal line using CSS or in-line HTML attributes. This allows you to change the line thickness, …

  7. HTML for Horizontal Line: The Tag Explained - Life in Coding

    The <hr> tag is a simple yet effective way to add horizontal lines in HTML. Whether you’re separating paragraphs, sections, or topics, this tag brings structure and clarity to your web …

  8. HTML Horizontal Line ( Tag) - Programiz

    In this tutorial, you'll learn about the HTML Horizontal Line with the help of examples.

  9. HTML Tag: Syntax, Usage, and Best Practices

    Learn how to use the HTML tag to create horizontal lines, with examples, attributes, best practices, and styling tips

  10. HTML Horizontal Line – HR Tag Example - freeCodeCamp.org

    Jan 26, 2022 · Starting in HTML5, we now need to attach a slash to the tag of an empty element. So, instead of having just <hr>, you should make it <hr />. In browsers, the <hr /> tag is …