Async vs Defer Attributes in Javascript - Include JavaScript Correctly in HTML

Published: 11 November 2021
on channel: Cloudaffle
3,632
116

In this video, we are going to look at the async and defer attributes of the script tag in JavaScript. We will see whats the difference between the async and the defer attributes for the script tag in JavaScript, and how your browser behaves differently when you try to use either of these two tags.

📖 Video Chapters
00:00 Video Intro
00:27 How the browser parses HTML
00:48 How images and scripts are treated by the browser
01:33 Loading of inline JavaScript by browser
02:03 How the browser treats external JavaScript files
02:40 Script tag without async and defer
03:07 Script tag with the async attribute
04:06 Script tag with the defer attribute
04:51 Which attribute should you use


------------------------------------------------------------
🤓 Subscribe To Watch JavaScript Series 🤓
-------------------------------------------------------------
Step by step Modern JavaScript Tutorials, simple and easy to understand:
https://bit.ly/3AaNtyZ


🔥🔥 FREE JavaScript Cheat Sheet 🔥🔥
https://cloudaffle.com/javascript-che...


▶️ Subscribe YouTube For More Tutorials▶️
https://bit.ly/3AaNtyZ




------------------------------------------------------------
🤓 JavaScript Tutorials - Complete Playlist 🤓
-------------------------------------------------------------
Step by step Modern JavaScript Tutorials, simple and easy to understand:
   • Complete JavaScript Master Course  


--------------------------------------
🎶Lo-Fi Music For Programmers🎶
--------------------------------------
Checkout 👇👇👇
https://cloudaffle.com/lofi-profile


----------------------------------------------------
🌟 More Insightful Content 🌟
----------------------------------------------------
Instagram -   / cloudaffle  
Twitter -   / cloudaffle  
Blog - https://cloudaffle.com/


On this page of the site you can watch the video online Async vs Defer Attributes in Javascript - Include JavaScript Correctly in HTML with a duration of hours minute second in good quality, which was uploaded by the user Cloudaffle 11 November 2021, share the link with friends and acquaintances, this video has already been watched 3,632 times on youtube and it was liked by 116 viewers. Enjoy your viewing!