The document features a collection called the all collection. Guess what this contains. In the following chunk of code, I will get the H1-level heading with ID MyH1. Even though this is relatively easy, there is an even easier way to access elements. Just use their ID or name directly.
Elements have attributes and styles, which can be modified at any time.
To change the font style of my heading, the code is trivial. When that script executes, the page instantly is updated. It does not have to be reloaded, it just changes automatically. Any attribute or style that you can specify in HTML can be changed dynamically, at any time, with the Dynamic HTML Object Model. Full event model GUI applications are tied together with their event model.