DOM programming -window object, review, please briefly describe the principle of script execution. What are the control statements in JavaScript and their meaning? How to create a function with parameters and how to call it? Preview check, explain the nouns "root node", "sub-node" and "adjacent node". What are the commonly used properties of window object? Please explain the function of setTimeout () method. The tasks of this chapter, the goal of this chapter, will use the DOM model to find an HTML element, will use the open () method of the window object to make various styles of advertising windows, will use the setTimeout () method of the window object and the Date object to make date display effects. The tree structure of the HTML document, what is the DOM-Document Object Model, which is a set of Web standards of the W3C international organization, which defines a set of properties, methods and events for accessing HTML document objects. DOM Object Model -1 DOM Object Model -2 Window Object Common Properties Window Object Common Methods and Events, How to Use Window Object -1 How to Use Window Object -2-1 How to Use Window Object -2-2 How to Use Window Object -3 How to Use Window Object -4 How to Use Window Object -5 Summary 1 Date Object for Clock Display -1 Date Object for Clock Display -2 Date Object Stores dates as milliseconds since 00:00:00, January 1, 1970 Date Object for Clock Display -3 Date Method Grouping Date Object for Clock Display -4 Date Object for Clock Display -5-1 Date Object for Clock Display -5-2 Usage of setTimeout: setTimeout ("function called", "timed time") Example: var myTime = setTimeout ("disptime () ", 1000); Date object does clock display -6 Summary 2 history and location object -1 history object, method history and location object -2 Location object, properties, method history and location object -3 Common errors, summary, please briefly describe the tree structure of HTML documents? What are the common methods of window object and their meanings? Please list what methods are available for Date object? Please explain where the setTimeout method is applicable?