Lecture Web technology and online services: Lesson 8 - Document object model (DOM)

Lecture "Web Technology and online services: Lesson 8 - Document object model (DOM)" provide students with knowledge about: Introduction to DOM; DOM Methods; DOM Document; DOM Elements; DOM - Changing HTML; DOM - Changing CSS; DOM Animation; . Please refer to the detailed content of the lecture! | Lecture 8 Document Object Model DOM Document Object Model DOM 1. Introduction 2. DOM Methods 3. DOM Document 4. DOM Elements 5. DOM - Changing HTML 6. DOM - Changing CSS 7. DOM Animation 8. DOM Events 9. DOM EventListener 10. DOM Navigation 11. DOM Elements Nodes 12. DOM Collections 13. DOM Node Lists 14. Browser Object Model BOM 15. Jquery HTML DOM 2 Document Object Model DOM 1. Introduction 2. DOM Methods 3. DOM Document 4. DOM Elements 5. DOM - Changing HTML 6. DOM - Changing CSS 7. DOM Animation 8. DOM Events 9. DOM EventListener 10. DOM Navigation 11. DOM Elements Nodes 12. DOM Collections 13. DOM Node Lists 14. Browser Object Model BOM 15. Jquery HTML DOM 3 What is the DOM The DOM is a W3C World Wide Web Consortium standard. The DOM defines a standard for accessing documents quot The W3C Document Object Model DOM is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content structure and style of a document. quot The W3C DOM standard is separated into 3 different parts Core DOM - standard model for all document types XML DOM - standard model for XML documents HTML DOM - standard model for HTML documents 4 What is the HTML DOM The HTML DOM is a standard object model and programming interface for HTML. It defines The HTML elements as objects The properties of all HTML elements The methods to access all HTML elements The events for all HTML elements In other words The HTML DOM is a standard for how to get change add or delete HTML elements. 5 The HTML DOM Document Object Model When a web page is loaded the browser creates a Document Object Model of the page. The HTML DOM model is constructed as a tree of Objects 6 With the object model JavaScript gets all the power it needs to create dynamic HTML JavaScript can change all the HTML elements in the page JavaScript can change all the HTML attributes in the page JavaScript can change all the CSS styles in the page JavaScript can remove existing HTML .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
28    74    3    29-03-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.