The DOM stands for Document Object Model. It is a representation of a web page hierarchy of objects where each object corresponds to a node in the page tree. DOM objects have properties and methods that can be manipulated with JavaScript.

To have a solid understanding of the structure of an HTML page. Let’s add a basic code.


<!DOCTYPE html>
<html lang="en">
<head>
<title>DOM Manipulation</title>
  </head>
<body>
<h1>DOM Manipulation</h1>
<p>This a simple DOM manipulation example</p>
<p>More information about <a  href="https://developer.mozilla.org/en-US/docs/Glossary/DOM">DOM API</a></p>
</body>
</html>

#html #javascript #dom #web-development #frontend #css

JavaScript DOM Manipulation in Details
2.40 GEEK