It's interactive, fun, and you can do it with your friends. Next, the letters “src” are used as an attribute (which you learned about in Lesson 3: Attributes and Values) and stand for “source”. The HTML image position code information below will help you fine tune the placement of an image … If you’re attaching an image to your website using HTML, then you would need to add padding around it and here in this post, I will guide you how to do so. The slash character at the end of the tag indicates this. Write the image name with extension into the img tag. To add a background image on an HTML element, use the HTML style attribute and the CSS background-image property: You can also specify the background image in the