Zoek de fout
Code 1:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<body>
</html>
Code 2:
<!DOCTYPE html>
<html>
<body>
<h2>HTML Buttons</h2>
<p:>HTML buttons are defined with the button tag:</p>
<button>Click me</button>
</body>
</html>
Code 3:
<!DOCTYPE html>
<html><body>
<h2>An Ordered HTML List</h2>
<
l>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
<h2>An Unordered HTML List</h2>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol> </body></html>
Code 4:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h2>Wiskunde</h2>
<p> 2+2=4 en 10 < 20 </p>
</body>
</html>
Code 5:
<!DOCTYPE html>
<html>
<head>
<style>img {width: 100%;}</style>
</head>
<body>
<h2>Styling Images</h2>
<p>Wat is hier toch aan de hand? Fix this!</p>
<img src=”html5.gif” alt=”HTML5 Icon” width=”128″ height=”128″>
</body>
</html>
Zorg ook dat de teksten in de browser mooi onder elkaar staan.
<!DOCTYPE html>
<html>
<body>
<p>In HTML, spaces and new lines are ignored:</p>
<p>
My Bonnie lies over the ocean.
My Bonnie lies over the sea.
My Bonnie lies over the ocean.
Oh, bring back my Bonnie to me.
</p>
</body>
</html>
