Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Insert Images in HTML - An HTML5 Image Tutorial

Dave Gray via YouTube

Overview

Learn how to insert images in HTML with this comprehensive tutorial. Discover the img element and its required attributes for displaying images on web pages. Explore topics like setting width and height, using the loading attribute for performance optimization, and implementing figure and figcaption elements for semantic markup. Gain practical experience by inserting multiple images, validating HTML code, and finding valuable image resources. Master the essentials of working with images in HTML5 to enhance your web development skills.

Syllabus

Intro
Welcome
Setup
Image Files
img element
width and height attributes
Insert a 2nd image
Loading attribute and "below the fold"
figure and figcaption elements
Adding a 3rd image
figure is not just for images
Validate your HTML code
Image resources

Taught by

Dave Gray

Reviews

Start your review of How to Insert Images in HTML - An HTML5 Image Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.