Write the following intention of a web developer in the form of an HTML comment – this is a placeholder for an image. Write a code to notify the browser that this is an HTML 5 document.?
Here is the required solution
An image placeholder is a dummy image designed to draw attention to the need for an actual image.
<!----The line !DOCTYPE html tell the browser that this is a HTML 5 document......>
<!DOCTYPE html>
<html>
<head>
<title> Title</title>
</head>
<body>
<!----This is placeholder for a image------>
<img src="placeholder for a image>
<h1>My First Heading</h1>
</body>
</html>
Get Answers For Free
Most questions answered within 1 hours.