Hi,

I'm very new to Javascript and had a general question. I know that in javascript you have certain functions like getElementByTag or getElementByID to modify html pages and you can add links to an html page, align text and so on. My question is, what is the advantage of indirectly modifying an html page through javascript when you can modify the html directly without using any javascript?

Thank you!