#html #tutorial #beginners #images
Chapters:
0:00 Responsive images
1:32 IMG element
2:46 ALT attribute
3:20 WIDTH and HEIGHT attributes
5:37 IMG with SRCSET attribute
8:53 SIZES attribute
10:01 Media Condition for SIZES attribute
11:47 Why use PICTURE element?
12:40 Syntax of PICTURE element
13:18 SOURCE element with MEDIA attribute
15:15 Finishing PICTURE with second SOURCE
16:30 Importance of always adding the IMG element
We're taking a look at how to place images in our HTML document. We'll be covering three different techniques:
- First, we'll use the IMG tag to insert a single image.
- Second, we'll add a SRCSET attribute to give the browser some options to choose from.
- Third, we'll use the PICTURE tags in order to use different images for different viewport sizes.
This video series is aimed at complete beginners. I hope you find this informative. Let me know if you have any issues along the way. I'll do my best to help you.
Download VSCode:
https://bit.ly/3sAV6Nd
VSCode key bindings:
https://bit.ly/3oJbvy4
MDN Web Docs (a great resource for web developers):
https://mzl.la/3uL9Eg4