Video and audio content are important in order to implement more visual and audio aspects into your website which could make it more appealing and even accessible.
Grid allows users to adjust the layout of content on a page in a two dimensional manner and that allows seamless cooperation with flex.
Image responsiveness is important for making your website and its content available for all users and that they see the website how you intend.
The ability to use video and audio has evolved drastically since the early 2000s. Flash and silverlight were used to incorporate online videos and audio but were prone to security and accessibility issues. Native HTML and JavaScript APIs are preffered and more modern tools to use.
The src attribute is the path to the content you want displayed inside of the element. controls Allow for more accessibility and the ability to control video/audio playback. Interface must include a way to start and stop the media and the ability to adjust the volume.
Fallback content provides a backup element of content in case the browser that is accessing the page doesn’t support the video element.
There once was a time in a land far far away where there were these two elements, Video and Audio. Video and Audio had special abilities. They were able to join together and provide a piece of media to become a conjoined superhero. THE END.
Grid is two dimensional while flex is one, allowing the dev more freedom in where they can place content on the webpage. They work really well together.
Making images responsive saves user bandwidth and can avoid resolution switching problems.
srcset and sizes are two attributes that devs can use to provide additional source images to help the browser pick the right picture/size. source
srcset is more helpful because you are unable to load an image and dynamically change the image to a smaller one with JS. It would just load the image twice.
srcset doesn’t dynamically change the image?
If using HTML to inbed video/audio is a modern way of doing things, why don’t all browsers make it a standard so they will always load the video/audio elements.