JS Sop1 Writeup-1
JS Sop1 Writeup-1
If a document contain frames (<iframe> tags), the browser creates one window
object for the HTML document, and one additional window object for each
frame.
JavaScript Events
HTML events are "things" that happen to HTML elements.
HTML Events
An HTML event can be something the browser does, or something a user does.
Here are some examples of HTML events:
Many different methods can be used to let JavaScript work with events:
DOM:
The DOM is a W3C (World Wide Web Consortium) standard.
A property is a value that you can get or set (like changing the content of an
HTML element).
If you want to access any element in an HTML page, you always start with
accessing the document object.