Answers for "hr horizontal line css"

3

html horizontal line style

<!-- HTML -->

<!-- You can change the style of the horizontal line like this: --> 

<hr style="width:50%", size="3", color=black>  


<!-- Or like this: -->

<hr style="height:2px; width:50%; border-width:0; color:red; background-color:red">
Posted by: Guest on July-26-2020
1

how to add a horizontal line in html

We can add a horizontal line through the hr tag 
where you will put the hr tag it will create a hr tag 
it doesnt have a closing tag
<hr>
Posted by: Guest on June-05-2021
0

how to make a horizontal line in html

<!-- You can add a horizontal line in html by a <hr> tag.-->
<!Doctype Html>

<html>

  <head>
  
  	<meta charset="UTF-8">
    <title>HR Tag</title>
    
  </head>
  <body>
  
    <h1>Hello</h1>
    <hr>
  
  </body>
  
</html>


<hr>
Posted by: Guest on July-21-2021

Browse Popular Code Answers by Language