how can a 2D or 3D horizontal rule be displayed in HTML
Answers
Answered by
3
Here are the default style values for <hr/> in HTML 5:
hr {
display: block;
margin-top: 0.5em;
margin-bottom: 0.5em;
margin-left: auto;
margin-right: auto;
border-style: inset;
border-width: 1px;
}
You can change the values as you like.
Here are the default style values for <hr/> in HTML 5:
hr {
display: block;
border-width: 1px;
}
You can change the values as you like.
Answered by
3
ANSWER :
You can display horizontal rule by using the <HR> tag.
3D horizontal rule can be displayed by changing the size of the horizontal line in the Web page. For example, to set the size of a horizontal line to 40 in the Web page, we type: < BODY> this is an example of aligning the horizontal line to the center<HR SIZE=”40” >
Similar questions