how to change the color of the hr tag in html
<style>
hr{
height: 1px;
background-color: #ccc;
border: none;
}
</style>
how to change the color of the hr tag in html
<style>
hr{
height: 1px;
background-color: #ccc;
border: none;
}
</style>
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">
which is right <hr> or <hr/> in html
<hr> <!-- it represents a horizontal line break, in HTML4.0 we use <hr>,
in XHTML1.0 we use <hr/>, in HTML5(which is the current version of
HTML) we can use both <hr> and <hr/>
-->
how to draw a horizontal line in javascript
var elem = document.createElement("hr");
elem.setAttribute("width", "100px");
document.body.appendChild(elem);
horizontal line
Incase you are trying to diffrentiate between verical and horizontal. this is a horizontal line
------------
<!--Then Vertical goes straight from top to bottom. -->
<!--to add a horizontal line in html-->
<hr>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us