HR size : HR Line « HTML « JavaScript DHTML






HR size

    
<html>
<body>
<script language="JavaScript">
function function1() {
    document.getElementById("myHR").size = "30";
}
</script>
<hr id="myHR" color="green">
<input type="button" value="Size=30" onClick="function1();">
</body>
</html>

    
      
      








Related examples in the same category

1.Line without noShade
2.Draw line with parameter
3.Controlling HR Object Properties (IE)