SQL PHP HTML ASP JavaScript articles and free scripts to download
HTML

Horizontal rule - line html code

WE can draw lines across the screen or of some particular length by using <hr> tag. This <hr> tag can take some attributes and accordingly display the line inside our html pages. Let us try this simple hr tag. The output is below it.

<hr>


Now let us add width to it like this

<hr width='100'>




As you can see now we have limited the width of the line. Now let us add color to this line.

<hr width=50 color=red>




What about size

<hr width=50 size=20>




To make it solid we have to add noshade attribute.

<hr width=50 size=20 noshade>


Be the first to post comment on this article :


Google+
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer