Web Technology Basics Practice Test: Handling Images, Audio and Video — Flashcards | Web Development | FatSkills

Web Technology Basics Practice Test: Handling Images, Audio and Video — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

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

1 of 51 Ready
How many attributes are at least needed for <img> element?
2
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password