-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathp10.html
More file actions
28 lines (23 loc) · 672 Bytes
/
p10.html
File metadata and controls
28 lines (23 loc) · 672 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Block test</title>
</head>
<body>
<p id="para1">It is paragraph 1</p>
<p id="para2">It is paragraph 2</p>
<button type="button" onclick="Block()">Display</button>
<!--
//button er upor likha thakbe Display
//button click korle Block function call hobe
// Block call hole It is paragraph 1 & It is paragraph 2 page e display hobe na
-->
<script type="text/javascript">
function Block() {
document.getElementById("para1").innerHTML="Welcome java script programmer";
document.getElementById("para2").innerHTML="How are you? <br> How enjoy this tutorial";
}
</script>
</body>
</html>