pls use the validator w3.org to check all the errors on this codes below and pas
ID: 3927797 • Letter: P
Question
pls use the validator w3.org to check all the errors on this codes below and past the correct one so i can compare the 2 to see my mistakes
<!DOCTYPE html PUBLIC "-//W3C//HTML 4.01 Transitional//EN" "http://www.w3.org/html4/loose.dtd">
<html>
<head>
<title>Babylon 5</title>
</head>
<head>
<h1>Babylon 5</h1>
<p>
<img src="Thumbs/Babylon 5.jpg" width="750" height="400">
</p>
<ul>
<li>Duration 100 Mins</li>
<li>Drama</li>
<li>Date Released 2012</li>
<li>Box Office $20 Million</li>
<li>Director George Washington</li>
</ul>
<center><a href="MainViewScreen.html">Back to Main View Screen</a></center>
</body>
</html>
Explanation / Answer
<!DOCTYPE html PUBLIC "-//W3C//HTML 4.01 Transitional//EN" "http://www.w3.org/html4/loose.dtd">
<html>
<head>
<title>Babylon 5</title>
</head>
<h1>Babylon 5</h1>
<img src="Thumbs/Babylon 5.jpg" width="750" height="400">
<ul>
<li>Duration 100 Mins</li>
<li>Drama</li>
<li>Date Released 2012</li>
<li>Box Office $20 Million</li>
<li>Director George Washington</li>
</ul>
<center><a href="MainViewScreen.html">Back to Main View Screen</a></center>
</body>
</html>
---------------------------------------------------------------------
Explanation
It has extra <head> tag. <head> should appear only once in a html.
Heading is good.
Image is in paragraph <p></p>.
There is no need to put image in paragraph. It doesn't signify anything. So, tages can be removed.
Unordered list is good.
Anchor is good.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.