JavaScript Introduction


JavaScript Can Change HTML Content

One of many JavaScript HTML methods isĀ getElementById().

This example uses the method to “find” an HTML element (with id=”demo”) and changes the element content (innerHTML) to “Hello JavaScript”:

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *