Yahoo Malaysia Web Search

Search results

  1. Learn how to use the border property to style a hr element with different colors, styles and sizes. See examples of how to create solid, dashed, dotted, thick and rounded borders for hr elements.

    • Try It Yourself

      The W3Schools online code editor allows you to edit code and...

    • HR

      The <hr> tag defines a thematic break in an HTML page (e.g....

  2. Learn different ways to draw a horizontal line after some block using HTML and CSS, such as hr tag, after pseudoclass, or border-bottom. See examples, explanations, and answers from experts and users.

  3. Learn how to use the element to create horizontal rules with different sizes, colors, styles and backgrounds. See examples of horizontal lines with width, height, border, gradient, shadow, image and more.

  4. Learn how to use the HTML hr tag to create a horizontal rule that separates content in a web page. See examples, browser support, global and event attributes, and default CSS settings.

  5. Jan 9, 2021 · Learn how to use the HTML HR element and CSS rules to create horizontal lines with different styles, colors, sizes and effects. See examples of thematic breaks, underlines, stripes, gradients and transformations.

  6. Feb 21, 2022 · Learn how to create horizontal lines in HTML using the tag or CSS border. The tag has a semantic meaning of thematic break, while the border is purely cosmetic.

  7. Mar 2, 2023 · Learn how to customize the appearance of horizontal rules (hr tags) in HTML and CSS with different properties and examples. Create dotted, zigzag, dashed, wavy, or curved lines with colors, gradients, shadows, and animations.