The DOM DOM Examples 2 years ago user Examples of using JavaScript to access and manipulate DOM objects. The Document Object Display all…