-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage2.html
More file actions
65 lines (55 loc) · 1.67 KB
/
page2.html
File metadata and controls
65 lines (55 loc) · 1.67 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>
<head>
<meta charset="UTF-8">
<title>HTML Basics</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<h1>HTML Basics</h1>
<p>Start learning the core building blocks of HTML.</p>
</header>
<nav>
<a href="index.html">Home</a>
<a href="text.html">First HTML file</a>
<a href="links.html">Links</a>
<a href="images.html">Images</a>
<a href="lists.html">Lists</a>
<a href="tables.html">Tables</a>
</nav>
<div class="content">
<div class="lesson-box">
<h2>What Is HTML?</h2>
<p>HTML stands for <strong>HyperText Markup Language</strong>. It tells the browser how to structure a webpage.</p>
<p>HTML is made of <strong>elements</strong> like:</p>
<ul>
<li><code><h1></code> — headings</li>
<li><code><p></code> — paragraphs</li>
<li><code><a></code> — links</li>
<li><code><img></code> — images</li>
</ul>
</div>
<div class="lesson-box">
<h2>Basic HTML Structure</h2>
<p>Every HTML page starts with this structure:</p>
<pre>
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
</pre>
<p>This is the skeleton of every webpage you will ever build.</p>
</div>
<div class="lesson-box">
<h2>Your Next Step</h2>
<p>Create a new file called <code>index.html</code>. This will be your first real HTML page and the starting point of your website.</p>
<p>Once the file is created, use the navigation bar to move to the next lesson.</p>
</div>
</body>
</html>