HTML5, CSS3 & JavaScript | Nesting Parent-Child Elements, Creating HTML Markup | Chap-2 | Part-6

Опубликовано: 02 Ноябрь 2024
на канале: Nafis's Classroom
599
1

First, we shall finish off with the lessons on the ordering of loading external scripts. We shall briefly discuss about the asynchronous and synchronous loading of JavaScript files and what advantage they bring for performance. In this part, we will start on by creaing a very simple HTML document. Within the due course of the entire time, while we are setting the entire document tree, it also essential to understand the concept of nesting in HTML markups. Nesting helps to create and place an HTML element inside another element. This leads to a relationship that can be dubbed as Parent-Child relationship and many CSS styling selectors leverages on this type of connection between two elements. The important fact to note while we are nesting an element is that we should ended the nested element BEFORE closing the outer tag of the parent element.