As you’ve probably gathered by now, the img (short for image) element is used to reference images in web pages. Below lists the most commonly used attributes for the img element.
Each of the attributes in above helps the browser to create a space in which to display the linked image. To further customize the image, such as adding a border or changing the margins around it, we’ll use CSS.
No comments:
Post a Comment