you want to insert some image in the web page? Which HTML tag can help you? Give an example. (Long answer)
Answers
Images can be easily inserted at any section in an HTML page. To insert image in an HTML page, use the <img> tags. It is an empty tag, containing only attributes since the closing tag is not required.
Just keep in mind that you should use the <img> tag inside <body>…</body> tag. The src attribute is used to add the image source i.e. URL of the image. The alt attribute is for adding alternate text, width for adding width, and height for adding the height of the image.
You can try the following code to insert an image in an HTML page −
<!DOCTYPE html>
<html>
<head>
<title>HTML img Tag</title>
</head>
<body>
<img src="/html/images/test.png" alt="Simply Easy Learning" width="200"
height="80">
</body>
</html>
To insert an image in a web page we use <img> tag.
Syntax:-
<img src="file path.file type">
For example:-
<img src="https://cdn3.vectorstock.com/i/1000x1000/83/07/sv-s-v-alphabet-letter-logo-combination-icon-vector-17088307.jpg">
you can you can also specify its width and height
For example:-
<img src="https://cdn3.vectorstock.com/i/1000x1000/83/07/sv-s-v-alphabet-letter-logo-combination-icon-vector-17088307.jpg"width="100"height="80">