Using The id Attribute in JavaScript

JavaScript can access an element with a specified id by using the getElementById() method:

Hello World!