hr tag font style code example
Example 1: how to style an hr tag
hr.new1 {
border-top: 1px solid red;
}
hr.new2 {
border-top: 1px dashed red;
}
hr.new3 {
border-top: 1px dotted red;
}
hr.new4 {
border: 1px solid red;
}
hr.new5 {
border: 10px solid green;
border-radius: 5px;
}
Example 2: what does in html mean
<p>HTML is a language for describing web pages.....</p>
<!--the hr tag stands for horizontal rule and will make a line across your page at that point-->
<hr>
<p>CSS defines how to display HTML elements.....</p>