-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (75 loc) · 3.01 KB
/
index.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
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
66
67
68
69
70
71
72
73
74
75
76
<!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>Document</title>
<link rel="stylesheet" href="style.css" />
<script src="https://kit.fontawesome.com/2638b697cd.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="main-container">
<div class="header">
<h1>HTML & CSS Basics Summary</h1>
<img src="html5-css3.jpg" alt="logo" />
</div>
<div class="card-container">
<div class="text-section">
<h2>HTML Summary2</h2>
<p>
Our page's content, structure, and meaning are all defined using
HTML (HyperText Markup Language).<br>
You don't use it for styling purposes. Instead, use CSS for that!
</p>
<span class="yellow-text"
>HTML uses "elements" to describe (annotate) content</span><br>
<span class="white-text"
>Typically, HTML elements have an opening tag, content, and a
closing tag.</span><br>
<span class="yellow-text"
>You can also have void (empty) elements like images</span></br>
<span class="yellow-text"
>You can also configure elements with attributes</span></br>
<span class="white-text"
>There's a long list of available elements but you'll gain
experience over time, no worries.</span
>
<p>
Learn more about all available HTML elements on
<span id="marked">the MDN HTML element reference</span>
</p>
<h2>CSS Summary</h2>
<p>
You can style the content of your page by using CSS (Cascading Style
Sheets).
</p>
<span class="white-text"
>To assign styles, use property value pairs.</span
></br>
<span class="white-text"
>By using the "style" attribute, you can assign styles.</span
></br>
<span class="yellow-text"
>Typically, global styles (such as those provided by the "style"
element) are used to prevent code duplication</span
></br>
<span class="white-text"
>A different option is to use external stylesheet files that you
"link" to "
</span></br>
<span class="yellow-text"
>Understanding terms like "inheritance," "specificity," and "the box
model" is essential while dealing with CSS.</span
>
<p>
Visit the MDN CSS property reference to learn more about all of the
available CSS properties and values.
</p>
</div>
</div>
<a href="https://drive.google.com/file/d/1ER90CVz-l_xG8VUuUxVqsBm_vtpK6_hw/view?usp=sharing"><button id="download-button"><i class="fa-solid fa-angles-down"></i> Download</button></a>
<p>©2022</p>
</div>
</body>
</html>