How best can you explain DOM | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How best can you explain DOM

Html

26th May 2020, 6:43 AM
YinkTech
YinkTech - avatar
3 Answers
26th May 2020, 7:13 AM
Pranav Kalro
Pranav Kalro - avatar
0
DOM stands for Document Object Model. Dom basically allows your program to add or remove or change the content or style or structure of your HTML document. Using DOM, you can add event handler to a element, for eg. On click of a button you want some line of code to be executed then you can add event handler to that button. It is used when you want your webpage to be dynamic.
26th May 2020, 7:01 AM
Chetali Shah
Chetali Shah - avatar
0
Thanks
26th May 2020, 10:26 AM
YinkTech
YinkTech - avatar