web 2015 Solution || BIM STUDY NOTES
year 2015 Q.no 11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
<html> <head> <style> table{ border:1px solid black; border-collapse:collapse; </style> </head> <body> <table border="width: 50%"> <tr> <th>Actor</th> <th>Movies</th> </tr> <tr> <td rowspan="3">Tom Hanks</td> <td>Forest Camp</td> </tr> <tr> <td>Green Mile</td> </tr> <tr> <td>Philadephia</td> </tr> </table> </body> </html> |
Q.no 13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<html> <head> <title>javascript</title> <script language="javascript"> function addNumbers () { var vall = parseInt(document.getElementById("value1").value); var val2 = parseInt(document.getElementById("value2").value); var ansD = document.getElementById("answer"); ansD.value = vall + val2; } </script> </head> <body> valuel = <input type="text" id="valuel" name="value"/><br/> value2 = <input type="text" id="value2" name="value2"/><br/> <input type="button" name="Submit" value="Click here" onclick="javascript:addNumbers()"/><br/> Answer = <input type="text" id="answer" name="answer" value=""/> </body></html> |
Continue Reading