Draw line with parameter : HR Line « HTML « JavaScript DHTML
- JavaScript DHTML
- HTML
- HR Line
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>
Related examples in the same category