Lokang 

HTML and CSS

image

To include an image in an HTML document, you can use the <img> element. The src attribute specifies the path to the image file, and the alt attribute provides alternative text for the image:

<img src="image.jpg" alt="A description of the image">

You can also specify the width and height of the image using the width and height attributes:

<img src="image.jpg" alt="A description of the image" width="100" height="100">

If you want to create a link to the image, you can use the <a> element:

<a href="image.jpg"><img src="image.jpg" alt="A description of the image"></a>

This will create a clickable image that, when clicked, will take the user to the image file.

You can also use the <figure> and <figcaption> elements to add a caption to the image:

<figure>
 <img src="image.jpg" alt="A description of the image">
 <figcaption>Caption for the image</figcaption>
</figure>