-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode10.html
More file actions
27 lines (27 loc) · 984 Bytes
/
code10.html
File metadata and controls
27 lines (27 loc) · 984 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
<!DOCTYPE html><!--learning various semantics in HTML pre,header,footer,code,kbd,section.etc...-->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Semantics</title>
<style>
/* classes used to target specific semantics in html like footer, navigation, etc... using css */
.foot1{
background-color:blue;
color:white; /*color = font color*/
}
.nav1{
background-color:#414141;
color:white; /*color = font color*/
}
</style>
</head>
<body>
<!-- below are some semantics tags to divide the html into various sections for styling and applying css later -->
<pre>asdasdasdd</pre>
<header>asdssasdasdasd</header>
<nav class = "nav1">asdasdasdasdasdasdas</nav>
<footer class = "foot1">asdasdasdasdasdasdasd</footer>
<section>asdasdasdasdasdasdasdasd</section>
</body>
</html>