Draw line with parameter
<html> <head> <script language="JavaScript"> <!-- function hr(w, h) { document.writeln("<hr align=left width=" + w +"height=" + h +">"); } //--> </script> </head> <body> <h3>JavaScript Essentials <script>hr("75%","4")</script> </h3> </body> </html>