-
Notifications
You must be signed in to change notification settings - Fork 0
/
inline-elements.html
65 lines (52 loc) · 1.72 KB
/
inline-elements.html
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
60
61
62
63
64
65
<!doctype html>
<html>
<head>
<title>Inline elements</title>
<body>
<h1>Inline elements</h1>
<p>a tag used for link example contains google link</p>
<a href="https://www.google.com">Google</a>
<br>
<p>abbr is used for abbrevations</p>
<abbr title="Chitkara University, Punjab">CU</abbr>
<br>
<p>b tag used for making text bold</p>
<p>hi my name is :<b>Ajeet</b>. I live in ambala cantt</p>
<br>
<p>br text is for breaking line/going to next line</p>
<br>
<br>
<p> button is used for making action</p>
<button type="button">Click me</button>
<br>
<p>em is used for empasized text</p>
<p>this is exampleof <em>Empasized text</em>.</p>
<br>
<p>i tag is used for italic text</p>
<p>this example is of <i>italic</i>text</p>
<br>
<p>input tag is used for taking input from user and label for heading of input</p>
<label>Enter text:</label> <input type="text">
<br>
<p>small tag to make text small</p>
<p>this is example of <small>small</small>text</p>
<br>
<p>sub is used for subscript and sup used for superscript</p>
<p>H<sub>2</sub>O</p>
<p>a<sup>2</sup>+ b<sup>2</sup></p>
<br>
<p>select used for dropdown type to select an option from many</p>
<p>select your fav:</p>
<select>
<option>Mango</option>
<option>Orange</option>
<option>Apple</option>
<option>Banana</option>
</select>
<br>
<p>textarea is used for big input type area we can adjust according to rows and columns</p>
<p>textarea:<textarea rows="20" cols="30"></textarea></p>
<br>
</body>
</head>
</html>