-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTMLPage2.htm
More file actions
42 lines (39 loc) · 1.73 KB
/
HTMLPage2.htm
File metadata and controls
42 lines (39 loc) · 1.73 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My Test Exa</title>
<script language="javascript" type="text/javascript">
function chhena() {
var a = document.createTextNode("Serious");
var b = document.createElement("li");
b.appendChild(a);
var c = document.getElementsByTagName("li");
var d = c[0];
d.parentNode.appendChild(b)
}
function chhen() {
var a = document.createTextNode(document.getElementById("t2").value);
var b = document.createElement(document.getElementById("t1").value);
b.appendChild(a);
var c = document.getElementsByTagName(document.getElementById("t1").value);
var d = c[0];
d.parentNode.appendChild(b)
}
</script>
</head>
<body>
<h1>This is My Heading</h1>
<p>co-ordinate with the academic section to ensure that the necessary skills are imparted to students, arrange industry visits, invite business leaders and professionals to interact with students, and interface with alumni to identify emerging opportunities.
The culmination of these efforts is Placement Facilitation and Summer Internships. The objective of Placement Facilitation at Alliance is to provide opportunities to students in line</p>
<ul>
<li>Rama</li>
<li>Gopal</li>
<li>Rabi</li>
<li>Shyam</li>
</ul>
<input type="button" value="ADD" onclick="return chhena()" /><br />
Give tag Name :<input type="text" id="t1" /><br />
Give tag Text:<input type="text" id="t2" /><br />
<input type="button" value="Create" onclick="return chhen()" />
</body>
</html>