These pages tries to describe the many stuff and kinds basically

These pages tries to describe the many stuff and kinds basically

As an example, these function produces another

component, contributes text to that component, and brings they to the forest for document:

Fundamental information kinds

But there are a number of various information kinds becoming passed all over API that you ought to be familiar with.

Note: since the great majority of signal that makes use of the DOM centers around influencing HTML documents, it really is usual to mention to the nodes into the DOM as elements, although purely speaking not all node is a feature.

  • list.item(1)
  • number

There’s also some traditional terminology factors to bear in mind. It’s usual to mention to almost any Attr node as an attribute , like, and also to relate to several DOM nodes as a nodeList . You will discover these words as well as others to-be launched and used throughout the documentation.

DOM interfaces

This article is mostly about the items therefore the actual things you can use to control the DOM hierarchy. There are many details in which understanding how these perform could be confusing. Eg, the item representing the HTML form element will get their term belongings from the HTMLFormElement user interface but their className homes from the HTMLElement software. Continue reading