-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
46 lines (40 loc) · 2.31 KB
/
example.html
File metadata and controls
46 lines (40 loc) · 2.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Replace with your site name</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
</header>
<main>
<h1>Example Page</h1>
<p>This is an example page. Feel free to copy, modify and learn from it in your project.</p>
<h2>Page Ready Checklist</h2>
<p>Here are things to check to make sure your page is ready</p>
<ul>
<li>BASE HTML: Do you have the base HTML elements? You can get these by typing ! and then tab and Emmet will write them for you.</li>
<li>EXTERNAL CSS: Do you have a link element that points to yo
<li>THREE PAGE SECTIONS: Do you have three page sections: header, main, footer? Remember that header and footer should be repeated on each page.
<ul>
<li>Header: this should have your site title and navigation if you are using a traditional site navigation. You can set this up once and then copy/paste it across all of your pages.</li>
<li>Main: this element contains the page-specific content. Usually this is where your page title (h1 element) goes and then all of the page content for that page.</li>
<li>Footer: This is the information that is shared at the bottom of the page. I could contain things like copyright information. © Your Name</li>
</ul>
</li>
<li>Page title: Do you have a page title in an h1 element?</li>
<li>Paragraph: do you have at least one paragraph of text in a p element?</li>
<li>Link: do you have at least one link in an a element? Your navigation counts for this.</li>
<li>Image: do you have at least one imaage. Did you attribute your image? See image example below.</li>
</ul>
<figure>
<img src="images/pexels-shkrabaanthony-5244030 (1).jpg" alt="Person typing on a laptop on a desk with coffee, phone, photos, papers and highlighters">
<figcaption><a href="https://www.pexels.com/photo/a-person-using-a-laptop-5244030/">Photo</a> by Antoni Shkraba</figcaption>
</figure>
</main>
<footer>
</footer>
</body>
</html>