Friday, October 17, 2014

Write A program to print name,rollno,address and city using javascript.

Write A program to print name,rollno,address and city using javascript. Code : info.html <html> <body> <script type="text/javascript"> var name="abc"; varrollno=1; var add="nr.motibag"; var city="jnd"; document.write("<br>Name :"+name); document.write("<br>RollNo :"+rollno); document.write("<br>Address :"+add); document.write("<br>City :"+city); </script> </body> </html>

No comments: