Finds an element by element id
Finds elements by tag name
Paragraph 1
Paragraph 2
Finds elements by class name
Finds the first element that matches CSS selector
Finds all elements that match CSS selector
Changes the inner HTML of an element
Changes the attribute value of an HTML element
Changes the style of an HTML element
Sets or changes the specified attribute
Changes the textual content of an element
Creates an HTML element
Removes an HTML element
Adds an HTML element
Existing content
Replaces an HTML element
Removes the element from DOM
Attaches an event handler to an element
Assigns a click event handler
Mouse hover events
Keyboard events
Returns all
Returns all elements
Returns all elements