syntax to insert image in web page
Answers
Answered by
2
Answer:
Use the <img> tag
Explanation:
Images are not technically inserted into a web page; images are linked to web pages. The <img> tag creates a holding space for the referenced image. The <img> tag has two required attributes which are the src that specifies the path to the image and alt that specifies an alternate text for the image, if the image for some reason cannot be displayed.
Answered by
2
Answer:
The syntax is below:
<html>
<head>
<title> </title>
<body>
<img src= "Your file name or the copied address of the image" width="The required width" height="The required height" alt="image">
</body>
</head>
</html>
Similar questions