Quiz on adding images using the element and choosing the right format, image maps, and adding flash, video, and audio to web pages. You can use the element to display images on a web page. The tag has attributes that control the image's display, size, and alignment: src: Specifies the image file's location alt: Provides alternative text for screen readers and displays if the image fails to load width: Specifies the image's width height: Specifies the image's height You can also use the align attribute to control the image's alignment within the text, but this attribute is deprecated in... Show more Quiz on adding images using the <img> element and choosing the right format, image maps, and adding flash, video, and audio to web pages. You can use the <img> element to display images on a web page. The <img> tag has attributes that control the image's display, size, and alignment: src: Specifies the image file's location alt: Provides alternative text for screen readers and displays if the image fails to load width: Specifies the image's width height: Specifies the image's height You can also use the align attribute to control the image's alignment within the text, but this attribute is deprecated in modern HTML. Here's how to insert an image using HTML: Copy the URL of the image you wish to insert Open your index.html file and insert it into the img code Save the HTML file The next time you open it, you'll see the webpage with your newly added image. Related Test: Web Technology Basics Practice Test: Links and Navigation Show less
Quiz on adding images using the <img> element and choosing the right format, image maps, and adding flash, video, and audio to web pages.
You can use the <img> element to display images on a web page. The <img> tag has attributes that control the image's display, size, and alignment: src: Specifies the image file's location alt: Provides alternative text for screen readers and displays if the image fails to load width: Specifies the image's width height: Specifies the image's height You can also use the align attribute to control the image's alignment within the text, but this attribute is deprecated in modern HTML.
Here's how to insert an image using HTML: Copy the URL of the image you wish to insert Open your index.html file and insert it into the img code Save the HTML file The next time you open it, you'll see the webpage with your newly added image.
Related Test: Web Technology Basics Practice Test: Links and Navigation
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.