+ 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>

23rd Jul 2017, 3:53 PM
Selina Miraz
Selina Miraz - avatar
5 Answers
+ 4
use size instead of height <hr width="1" size="500">
23rd Jul 2017, 4:20 PM
Peshkawt Mahmood
Peshkawt Mahmood - avatar
+ 3
use <hr> tag along without any width attribute
23rd Jul 2017, 4:20 PM
LordGhostX
LordGhostX - avatar
+ 2
<hr width ="30" align="center" /> 😊in center it looks nice
23rd Jul 2017, 4:54 PM
Irwin Lopez
Irwin Lopez - avatar
+ 2
<p>&plus;</p>
24th Jul 2017, 4:56 AM
Peshkawt Mahmood
Peshkawt Mahmood - avatar
0
can you also please explain how to get a plus sign . I am just curious . thanks.
24th Jul 2017, 4:53 AM
Selina Miraz
Selina Miraz - avatar