- Back to Home »
- Computer , How Computer , Website Tips »
- How to put Vertical Line(not horizontal, and images) in HTML or HTML5 by HR/ TAG
Posted by : nepal-tour-package
July 10, 2013
As we all draw horizontal Line easily by using <hr/> tag in HTML.
Today we will Learn how to draw vertical LINE in html by using <hr/> tag.
As we can also use image but the drawback is that, it take time to download.
So lets see.
by hr/ tag it draw a horizontal line but the trick behind it is we set it width to 1 px and size to 500 that means it will give a height of 500px and it will set its shape as a vertical straight Line.
Result: By using this code you can easily draw a verical line of 500 px.
Try This.
Thanks
Visit our page
www.facebook.com/verztechnologies for updates.
Today we will Learn how to draw vertical LINE in html by using <hr/> tag.
As we can also use image but the drawback is that, it take time to download.
So lets see.
<hr width="1" size="500" />what does above code did.
by hr/ tag it draw a horizontal line but the trick behind it is we set it width to 1 px and size to 500 that means it will give a height of 500px and it will set its shape as a vertical straight Line.
Result: By using this code you can easily draw a verical line of 500 px.
Try This.
Thanks
Visit our page
www.facebook.com/verztechnologies for updates.
are u kidding me with this kiddies stuffs?????
ReplyDeleteunderstood Sir :):
ReplyDeleteDo you All Know that using a vertical line as images in html files increases the size of the files and also it takes a bit more time to download the web pages. And using this code reduces the time.
ReplyDeleteIts Really helpful.
B-) thanks
Deleteyeah it is.
Deleteyeah it is.
Delete