Please enable JavaScript to use CodeHS

Diseño y Desarrollo Web

Lesson 5.2 Utilizar el DOM

Description

En esta lección, los alumnos aprenden a modificar las etiquetas HTML de una página web utilizando el DOM. El DOM, o Modelo de Objetos del Documento, convierte los archivos HTML en objetos accesibles que pueden manipularse o añadirse a una página web.


Objective

Students will be able to:

  • Modify existing elements on a web page using document.getElementById
  • Modify existing elements on a web page using document.getElemenyByTagName
  • Explain the purpose of the DOM, and how it is used to manipulate HTML files