+ 1
how to get a vertical line in html ? check the code . Thanks.
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <p>this is a plain text</p> <hr width="500px" /> <hr width="1px" height="500px"/> <!-- Why am I not getting a vertical line here ?--> </body> </html>
5 Answers
+ 4
use size instead of height
<hr width="1" size="500">
+ 3
use <hr> tag along without any width attribute
+ 2
<hr width ="30" align="center" />
đin center it looks nice
+ 2
<p>+</p>
0
can you also please explain how to get a plus sign .
I am just curious . thanks.