-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtutorial-3.html
32 lines (32 loc) · 1.28 KB
/
tutorial-3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tutorial 3</title>
</head>
<body>
<h1>Tutorial 3</h1>
<div class="container">
<p>This is a paragraph.</p> <p> is a paragraph.</p>
<p>Paragraph is written like this <p></p>
<p>Pound is written like this £</p>
<p>This is written like this ¼</p>
<p>copyright is written like this ©</p>
<p>Empty is written like this ​</p>
<!-- using entities -->
</div>
<h2>Inline and Block Elements</h2>
<p style="border: 2px solid red;">This is a paragraph.</p><p style="border: 2px solid blue;">This is also a paragraph</p>
<span style="border: 2px solid green;">This is a span.</span><span style="border: 2px solid goldenrod;">This is also a span.</span>
<h2>Ids and Classes in HTML</h2>
<div id="mainbox" class="redBg">
This is main box.
</div>
<h3>Semantic Elements</h3>
<details>
<summary>This is summary tag....</summary>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsa ad deleniti reprehenderit!
</details>
</body>
</html>