# Introduction The HTML `<img>` tag is used to embed images in web pages. It is an empty tag, which means it doesn't have a closing tag. The `src` attribute is mandatory and specifies the path or URL to the image. Other optional attributes include `alt`, `title`, `height`, `width`, etc. In this lab, you will learn how to use the HTML `<img>` tag to insert images into web pages. > Note: You can practice coding in `index.html` and learn [How to Write HTML in Visual Studio Code](https://code.visualstudio.com/docs/languages/html). Please click on 'Go Live' in the bottom right corner to run the web service on port 8080. Then, you can refresh the **Web 8080** Tab to preview the web page.
Click the virtual machine below to start practicing