Computer Science, asked by rachitrupta31, 7 months ago

Point and correct the errors in the following HTML code:- (2 marks) (i) (ii)

Answers

Answered by Anonymous
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
Math, 3 months ago