In Web Development career,
CSS, we must know how HTML works & what we can do with it & also having knowledge of HTML Elements
& Attributes, list is also given above.
#CSS side, we must have knowledge about
#CSS Selectors like,
#CSS selectors are following the HTML-DOM standard.
Let’s move to the main point that what exactly HTML DOM is?
basically DOM stands for Document Object Model you can see the picture below that how HTML-DOM looks like.
So, HTML has defined their own
Methods & their
properties to interact with HTML-DOM beacuese HTML-DOM is the part of HTML, we took one HTML-DOM method which is
document.getElementById() & we also took property
Actually here we manipulate the HTML element
id & its value
value is the property of
id attrubute. Now, see the reslut of same code but on browser side.
If you fully understand the HTML-DOM manipulation you will be able to understand the hierarchy of HTML page & you can easily play with HTML elements in
CSS. Furthermore, HTML-DOM is a way to play with elements according to your imagination. In this article, we have just discussed about HTM-DOM Manipulation only we didn’t study all the methods and properties. You can study in-depth about