DOM Series - #1
The HTML DOM (Document Object Model)
When a web page is loaded, the browser creates a Document Object Model of the page.
Thread🧵
#100DaysOfCode #javascript #developers #CodeNewbies #programming #html
JavaScript can change all the HTML elements in page
change all the HTML attributes in page
change all CSS styles inbpage
remove existing HTML elements and attributes
add new HTML elements and attributes
react to all existing HTML events in the page
create new HTML events in page
The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document."
>The HTML DOM is a standard for how to get, change, add, or delete HTML elements.
The HTML DOM is a standard object model and programming interface for HTML. It defines:
The HTML elements as objects
The properties of all HTML elements
The methods to access all HTML elements
The events for all HTML elements
Updated with new topic tommorow:-
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.
