-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday5.html
More file actions
28 lines (27 loc) · 1.06 KB
/
Copy pathday5.html
File metadata and controls
28 lines (27 loc) · 1.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>DOCUMENT</title>
<!-- styling should be done inside the headtag -->
<link href="external.css" rel="stylesheet">
<style>
/*three selectors are used */
/* tag name */
/*the css code is copied into external.css*/
</style>
</head>
<body align="center">
<!-- INLINE -->
<h1 style="color:blueviolet;font-size:55px;font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;background-color:blanchedalmond">
Welcome to my page</h1>
<h1 style="color:blueviolet;font-size:55px;font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;background-color:blanchedalmond">
Thank you</h1>
<h2>Introduction to CSS</h2>
<!-- id is used for unique identification -->
<h2 id="myid">Internal CSS</h2>
<h2>Tag name</h2>
<h2 class="myclass">Intro to class name</h2>
<h2 class="myclass myclass1">Intro to class name</h2>
<!-- we can put 2 class names in one class but we cant write more than one idname in id -->
</body>
</html>