Loading ...

Learn about web development and design.

Mom'na J.

Javascript DOM selectors

JavaScript DOM Selector

JavaScript DOM Selector: Using DOM Selector we can select, manipulate and edit the different types of text. We have different DOM selectors Here the list of DOM selectors, and let’s use them one by one. getElementsByTagName getElementsByClassName getElementById querySelector querySelectorAll getAttribute setAttribute className classList.add classList.remove classList.toggle 1- getElementsByTagName document.getElementsByTagName(“h1”); Using DOM selector (getElementsByTagName) We can …

JavaScript DOM Selector Read More »

Introduction to html

Introduction to HTML

HTML is the foundation of all websites. HTML is the commonplace language for making websites. It describes the structure of the page, consists of a series of tags, and tells the browser the way to show the content. HTML Page Structure (visualization of an HTML page structure) Simple HTML Document Example: Page Title Hello World! …

Introduction to HTML Read More »