Tutorialschevron_rightJavaScript Tutorialchevron_rightDOM IntroductionDOM Introductionformat_list_numberedLesson 4 of 4schedule1 min readview_agenda1 sectionauto_awesomeAI tutor ready01The HTML DOMWith the HTML DOM, JavaScript can access and change all the elements of an HTML document.Exampledocument.getElementById("demo").innerHTML = "Hello JavaScript!";Try it Yourself »arrow_back PreviousJS Functions