What is the DOM and BOM in JavaScript?

后端 未结 8 907
太阳男子
太阳男子 2021-01-29 18:39

What is the DOM and BOM in JavaScript? If someone could explain these in layman terms it would be great! I like to get a deeper understanding of these.

8条回答
  •  余生分开走
    2021-01-29 19:06

    BOM means Browser Object Model . These are objects that you can use to manipulate the browser. they are navigator

    • navigator
    • screen
    • location
    • history
    • document

    they are all children of the Window Object. DOM is Document Object Model is part of the BOM and it helps you manipulate the content of the loaded page file. this include the HTML and CSS

提交回复
热议问题