Created
September 8, 2019 22:14
-
-
Save Virksaabnavjot/2c91cb144b2ab69fcafdba4fc896caa4 to your computer and use it in GitHub Desktop.
HTML DOM Code Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>I am a Page Title</title> | |
</head> | |
<body> | |
<h1 align="center">I am a heading</h1> | |
<p style="background-color: red">I am a paragraph</p> | |
<img src="https://mrvirk.com/wp-content/uploads/2018/05/mrvirk-mobile-logo-v3-300x69.png" /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full article: https://mrvirk.com/html-dom-diagram-and-explanation.html
Output: https://mrvirk.com/wp-content/uploads/2019/08/HTML-DOM-with-Page-output-example-.png