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

preview_player
Показать описание
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:

🔥🔥 FREE JavaScript Cheat Sheet 🔥🔥

▶️ Subscribe YouTube For More Tutorials▶️

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

--------------------------------------
🎶Lo-Fi Music For Programmers🎶
--------------------------------------
Checkout 👇👇👇

----------------------------------------------------
🌟 More Insightful Content 🌟
----------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Thank you very much Sr. VERY useful ! I learnt a lot about JS defer and aync.

newtoys
Автор

thank you for the content. bring more clearity.

shashikantmarskole