-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintro-to-css.html
More file actions
65 lines (65 loc) · 1.63 KB
/
intro-to-css.html
File metadata and controls
65 lines (65 loc) · 1.63 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
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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Intro to CSS</title>
<link rel="stylesheet" href="./css/intro-to-css.css">
</head>
<body>
<header>
<h1> My Basic Website</h1>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<section class="article-background">
<article>
<h2>Article Title</h2>
<p>This is a sample paragraph for our article. It contains text, and can be styled using CSS. Lorem ipsum
dolor
sit amet, consectetur adipiscing elit.</p>
</article>
<aside>
<h3>Related Links</h3>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
</ul>
</aside>
</section>
<section>
<figure>
<img src="https://via.placeholder.com/400" alt="Sample Image" width="400" height="300">
<figcaption>Sample Image Caption</figcaption>
</figure>
<table>
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
<tr>
<td>Data 3</td>
<td>Data 4</td>
</tr>
</tbody>
</table>
</section>
<footer>
<p>© 2023 My Basic Website. All Rights Reserved.</p>
</footer>
</body>
</html>