What do you call this "gray line" in HTML, where you can use like a separator?
The above blank line is caused by the browsers default css style. Use normalize. css to reset the CSS applied by all the browser to a common one.
<code>: The Inline Code element The <code> HTML element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code.
HTML <hr> Tag The <hr> tag in HTML stands for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document sections. The <hr> tag is an empty tag, and it does not require an end tag. Used to specify the alignment of the horizontal rule.
<hr />
is this what you mean?
this is called a horizontal rule and can be created using the following:
<hr />
However, the fact that the line is gray is online its default behaviour. Using CSS you can style it as you like.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With