Referencing HTML Elements Using getElementById in JavaScript

Published: 15 July 2021
on channel: Professor Quinn
518
22

The ability to reference HTML elements is an invaluable skill in creating dynamic web pages, because you can't code what you can't identify! This video provides an excellent first look at using the id attribute in HTML. The video also explains how to reference this attribute and use the innerHTML property. After watching this video, you will be able to:

Assign the “id” attribute in an HTML tag
Reference an id in JavaScript code using the getElementById method
Use the innerHTML property to get the text in an HTML tag
Use the innerHTML property to change the text in an HTML tag


On this page of the site you can watch the video online Referencing HTML Elements Using getElementById in JavaScript with a duration of hours minute second in good quality, which was uploaded by the user Professor Quinn 15 July 2021, share the link with friends and acquaintances, this video has already been watched 518 times on youtube and it was liked by 22 viewers. Enjoy your viewing!