<html>
<body>

<script type="text/javascript">
var nameArray = new Array("Name 1","Name 2","Name 3","Name 4","Name 5","Name 6")

for (i=0; i<nameArray.length; i++){
    document.write(nameArray[i] + "<br>")
}
</script>

<p>
Happy Codings :-) JavaScript Code Examples
<br>
</p>

</body>
</html>
