zoukankan      html  css  js  c++  java
  • HTML DOM Introduction 翻译 w3schools.com

    HTML DOM Introduction




    The HTML DOM defines a standard for accessing and manipulating HTML documents.(HTML DOM定义了访问和操作HTML文档的标准)


    What You Should Already Know

    Before you continue you should have a basic understanding of the following:

    • HTML / XHTML
    • JavaScript

    If you want to study these subjects first, find the tutorials on our Home page.


    What is the DOM?

    The DOM is a W3C (World Wide Web Consortium) standard.(DOM是W3C的标准)

    The DOM defines a standard for accessing documents like HTML and XML:(DOM定义了访问像HTML和XML文档的标准)

    "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."

    The DOM is separated into 3 different parts / levels:(DOM分成3个不同的部分/层次)

    • Core DOM - standard model for any structured document(Core DOM-对于任何结构型文档的标准模型)
    • XML DOM - standard model for XML documents(XML DOM-XML文档的标准模型)
    • HTML DOM - standard model for HTML documents(Core DOM-HTML文档的标准模型)

    The DOM defines the objects and properties of all document elements, and the methods (interface) to access them.(DOM定义了所有文档元素的对象和属性,以及访问它们的方法)


    What is the XML DOM?

    The XML DOM defines the objects and properties of all XML elements, and the methods (interface) to access them.

    If you want to study the XML DOM, find the XML DOM tutorial on our Home page.


    What is the HTML DOM?

    The HTML DOM is:

    • A standard object model for HTML
    • A standard programming interface for HTML
    • Platform- and language-independent
    • A W3C standard

    The HTML DOM defines the objects and properties of all HTML elements, and the methods (interface) to access them.

    In other words: The HTML DOM is a standard for how to get, change, add, or delete HTML elements.

  • 相关阅读:
    调用Type.InvokeMember()时出现MissingMethodException
    C#学习之Delegate
    WCF之元数据交换 (Metadata Exchange)
    定义Enum的开始和结束,这样就能循环Enum了
    定制自己的Visual Studio的Debugger Visualizer
    C#中 #if DEBUG 和 Conditional("DEBUG")的区别
    从哪里开始学习Windows 8?(zz)
    Macro 小总结
    WPF应用的图标
    如何把 Visutal studio中的“printonbreakpoint”消息打印在程序的任何地方
  • 原文地址:https://www.cnblogs.com/zhangjun1130/p/1979449.html
Copyright © 2011-2022 走看看