The Document. write() method adds a string of text to a document stream that has been opened by document. open(). Because document.write() writes to the document stream, document.write() is called.
In DOM development, the document and window objects are the objects whose interfaces you utilise the most. In simple terms, the window object represents a browser, whereas the document object represents the document's root.
The operations you can execute on DOM objects (elements) are known as DOM Methods. Selecting an element, adding a new element, updating the element's content, changing CSS, removing an element are all DOM methods. Javascript is mostly used to manipulate and change HTML elements.
The Document Object Model (DOM) is a specification for document access. JavaScript can communicate with the browser using the Browser Object Model (BOM). The Element object in the HTML DOM represents an HTML element such as P, DIV, A, TABLE, or any other HTML element.
Date, Math, String, Array, and Object are all built-in objects.
Learner's Ratings
4.8
Overall Rating
82%
17%
0%
1%
0%
Reviews
S
Sachin
5
most useful to begginar
M
Master Peace
5
best
S
Sunny
5
I really liked the way of explaining.
M
M Abdullah
5
Very Nice!
P
pratima nice mall
5
good explaining
B
Bikramjit singh
5
Very helpful to web development
M
Mohammad Arif
5
very helpful for beginners
A
Ankit Singh
5
good
R
Rajendra Deshmukh
5
Thank you for providing a valuable and well-managed session
Share a personalized message with your friends.