pls use the validator.w3.org to check for errors on this code and write down the
ID: 3794726 • Letter: P
Question
pls use the validator.w3.org to check for errors on this code and write down the correct code that will pass the validation
<!DOCTYPE html PUBLIC "-//W3C//HTML 4.01 Transitional//EN" "http://www.w3.org/html4/loose.dtd">
<body>
<html>
<head>
<title>Main View Screen</title>
</head>
<h1 align="center">"Choose your show"</h1>
<h2>unordered list</h2>
<p>
<a href="Star Trek.html">
<img src="Thumbs/Startrek.jpg" alt="Star Trek">
</a>
<a href="Babylon 5.html">
<img src="Thumbs/Babylon 5.jpg" alt="Babylon 5">
</a>
<a href="Firefly.html">
<img src="Thumbs/Firefly.jpg" alt="Firefly">
</a>
</p>
<ul>
<li>Stargate</li>
<li>Farscape</li>
<li>Battlestar Galactica</li>
<li>Doctor Who</li>
</ul>
</body>
</html>
Explanation / Answer
<!DOCTYPE html>
<html>
<head>
<title>Main View Screen</title>
</head>
<body>
<h1>"Choose your show"</h1>
<h2>unordered list</h2>
<p>
<a href="StarTrek.html">
<img src="Thumbs/Startrek.jpg" alt="StarTrek">
</a>
<a href="Babylon5.html">
<img src="Thumbs/Babylon5.jpg" alt="Babylon 5">
</a>
<a href="Firefly.html">
<img src="Thumbs/Firefly.jpg" alt="Firefly">
</a>
</p>
<ul>
<li>Stargate</li>
<li>Farscape</li>
<li>Battlestar Galactica</li>
<li>Doctor Who</li>
</ul>
</body>
</html>
The corrected One: Have a look
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.