Point and correct the errors in the following HTML code:- (2 marks) (i) (ii)
Answers
Answered by
0
Answer:
Error 1 The <title> tag must be within <head> element.
Error 2 bgcolor attribute of body element supports a color like red, green or its color value.
Error 3 <img> tag needs a source attribute src to place an image.
Error 4 body element must be closed not bgcolor attribute.
The correct code is as follows:
<html>
<head>
<title>IMAGES</title>
</head>
<body bocolor = "yellow">
<imq src= "ABC.JPG">
HERE IS MY IMAGE FILE </body>
</html>
Similar questions
Science,
5 months ago
Computer Science,
5 months ago
English,
5 months ago
Math,
1 year ago
Math,
1 year ago