-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathexample04.html
38 lines (38 loc) · 974 Bytes
/
example04.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The descendant combinator ( )</title>
<style>
/* * {
margin: 0;
padding: 0;
box-sizing: border-box;
} */
body {
width: fit-content;
}
aside {
margin: 8px 0 0 8px;
}
h4 {
margin-bottom: 4px;
}
aside a {
color: red;
font-style: italic;
text-decoration: none;
}
</style>
</head>
<body>
<aside>
<h4>Links:</h4>
<div>
<a href="example01.html">The type selector</a><br>
<a href="example02.html">The class selector</a><br>
<a href="example03.html">The id selector</a>
</div>
</aside>
</body>
</html>