---
title: "Discussion on \"HTML vs DOM tree\" | Hashnode"
description: "Discussion on \"HTML vs DOM tree\". a literal tree very unrelated to the DOM tree\nSo I read this,\n\"Keep in mind that the JavaScript does not alter your HTML, but the DOM - your HTML file will look the same, but the JavaScript changes what the browser renders.\"\nand thought this needed e..."
url: "https://hashnode.com/posts/html-vs-dom-tree/64e0bc75db28c51ccec2bdcd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [HTML vs DOM tree](https://ranjans.hashnode.dev/html-vs-dom-tree?utm_source=hashnode&utm_medium=feed)

a literal tree very unrelated to the DOM tree So I read this, "Keep in mind that the JavaScript does not alter your HTML, but the DOM - your HTML file will look the same, but the JavaScript changes what the browser renders." and thought this needed e...

Aug 19, 2023 · 2 min read · ranjans.hashnode.dev  
Read the article

-   [#html](https://hashnode.com/tag/html)
-   [#dom](https://hashnode.com/tag/dom)
-   [#dom-manipulation](https://hashnode.com/tag/dom-manipulation)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#domtree](https://hashnode.com/tag/domtree)

## Written by

[ranjan](https://hashnode.com/@ranjanmehta)

@ranjanmehta

  
[View profile](https://hashnode.com/@ranjanmehta)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
