forked from biratdatta/Webpage-Maker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtutorial.html
More file actions
59 lines (44 loc) · 1.61 KB
/
tutorial.html
File metadata and controls
59 lines (44 loc) · 1.61 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<div class="tab">
<h2>TD elements define table cells</h2>
<table style="width:100%">
<tr>
<td>Emil</td>
<td>Tobias</td>
<td>Linus</td>
</tr>
</table>
<p>To understand the example better, we have added borders to the table.</p>
</div>
<div>
<h2>Symbols in Html</h2>
<h4>Example of Mathematical Symbol</h4>
<p>The summation symbol: ∑ </p>
<p>The partial differential symbol: ∂</p>
<p>The element-of symbol: ∈</p>
<P>There are many more!!</p>
</div>
<div>
<iframe width="420" height="345" src="https://www.youtube.com/embed/tgbNymZ7vqY">
</iframe>
</div>
<!-- Use of classes in html-->
<h2> Using classes in HTML</h2>
<h2>Here the class note is applied on "example"</h2>
<h3>My <span class="note">example</span> Heading</h3>
<p>This is some <span class="note">example</span> text.</p>
<script type="text/javascript">
var number = 0;
function Click() {
// the value will increase by every click
number+=1;
// declaring the value of div using a variable
document.getElementById("abc").innerHTML = number;
};
</script>
<p> Now let's learn how to make a counter in html using simple js</p>
<p> here is a div in which there will be a number which will increase as we will click a buttom</p>
<!-- Lets give it a id name so we can access its value using getElementbyId -->
<div ><p id ="abcd"><a id="abc">0</a></p></div>
<button type = "button" onClick="Click()">Click Me</button>
<!-- Now if we want a secondary link in the folder itself then this is the way-->
</p>