-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug fixed.html
25 lines (19 loc) · 884 Bytes
/
debug fixed.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML debugging examples</title>
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<h1>HTML debugging examples</h1>
<p>What causes errors in HTML?
<ul>
<li>Unclosed elements: If an element is <strong>not closed properly</strong>, then its effect can spread to areas you didn't intend</li>
<li>Badly nested elements: Nesting elements properly is also very important for code behaving correctly. <strong>strong</strong> <em><strong> emphasised?</strong> what is this?</em></li>
<li>Unclosed attributes: Another common source of HTML problems. Let's look at an example: <a href="https://www.mozilla.org/">link to Mozilla homepage</a></li>
</ul>
</body>
</html>