All HTML elements are objects. The document object has methods that allow you to select the desired HTML element.
1. finds element by id:-
2. finds elements by class name:-
3. finds elements by tag name:-