Terminology
document.createElement(<type>) ¶ Create an new element of type <type> in the current document.
document.createTextNode(<text>) ¶ Create a new text node in the current document.
<elementName>.<className> ¶ Select an <elementName> element with class <className>.
<elementName>#<id> ¶ Select the <elementName> element with ID <id>.
<object>.getElementById(<string>) ¶ Get element(s) within <object> having particular "id" attribute.
<object>.getElementsByTagName(<string>) ¶ Get elements within <object> having particular tag name(s).
<object>.querySelectorAll<queryString>) ¶ Get all elements within <object> matching <queryString>.
<object>.querySelector(<queryString>) ¶ Get exactly one element within <object> matching <queryString>.
<parent>.appendChild(<child>) ¶ Append child element as a child to parent element.
Facts, Thoughts and Opinions
Images
- Subtopics