The size or width of the horizontal line or <hr> element can be changed by setting the width property in CSS. And the thickness of the horizontal line can be changed by adding the height property to the CSS rules for <hr>.
Examples of Width and Height Settings
The <span> tag is a generic inline container element and has no specific purpose or uses. Developers use the <span> tag to style sections of text via CSS. It can be used just like the <div> tag. The only difference is that <div> is a block-level container element whereas <span> is an inline container element. While each <div> starts on a new line, there are no line breaks after the <span> tag.