web 2015 Solution || BIM STUDY NOTES

3rd Semester

year 2015

Q.no 11

<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

<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>

 

 


Leave a Reply

Your email address will not be published.