-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtmlnotes.html
More file actions
65 lines (65 loc) · 3.2 KB
/
htmlnotes.html
File metadata and controls
65 lines (65 loc) · 3.2 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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Notes</title>
<link rel="stylesheet" href="./assets/style.css">
<link rel="stylesheet" href="./assets/style2.css">
</head>
<body>
<header id="top">
<h1>Prework Study Guide</h1>
<img src="./assets/bowtie-cat.png" alt="Profile image of cat wearing a bow tie." />
<h2>✨ Open the Console to See What's Happening ✨</h2>
</header>
<main>
<!-- Student code goes here -->
<section class="card" id="html-section">
<h1>HTML Notes</h1>
<div>
<div class="htmlnotes top left">
<h4>Document Metadata</h4>
<ul>
<li>base</li>specifies the base URL to use for all relative URLs in a document. There can only be 1 base element in a document
<li>head</li>contains machine-readable information abou the document i.e. title, scripts and stylesheets
<li>link</li>specifies relationships between current document and an external resource. Most commonly used to link to CSS files
<li>meta</li>represents Metadata that cannot be represented by other HTML meta-related elements
<li>style</li>contains style information for a document, or part of a document
<li>title</li>defines the document's title that is shown in the browsers title bar or page tab
</ul>
</div>
<div class="htmlnotes top right">
<h4>Sectioning Root</h4>
<ul>
<li>body</li>represents the content of an HTML document
</ul>
</div>
</div>
<div>
<div class="htmlnotes left">
<h4>Content Sectioning</h4>
<ul>
<li>address</li>indicates that the enclosed HTML provides contact information for a person or people, or an organisation
<li>article</li>represents a self contained composition in a document, page, application, or site
<li>aside</li>represents a portion of a document whose content is only indirectly related to the documens main content. Typical use is a sidebar
<li>footer</li>represents a footer for its nearest ancestor sectioning content or root element
<li>header</li>represents introductory content such as heading, logo, etc
<li>h1,h2,h3,h4,h5,h6</li>represents 6 levels of section headings
<li>main</li>represents the dominant content of the body of a document
<li>nav</li>represents a section of a page whose purpose is to provide navigational links
<li>section</li>represents a generic standalone section of a document
</ul>
</div>
<div class="htmlnotes right">
<h4>Sectioning Root</h4>
<ul>
<li>body</li>represents the content of an HTML document
</ul>
</div>
</div>
</section>
</main>
</body>
</html>