Q1. How can you display the 2D and 3D horizontal rule in a Web page?
Ans. 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” >