---
title: "Discussion on \"Knowing the Difference between HTMLCollections and Nodelists\" | Hashnode"
description: "Discussion on \"Knowing the Difference between HTMLCollections and Nodelists\". I was being friendly with the DOM and i have used some document methods and as i used the document.getElementsByTagname() i received an collection of elements with the same tagname i have used in my w"
url: "https://hashnode.com/posts/knowing-the-difference-between-htmlcollections-and-nodelists/69b94d7bc22d3eeb8aae370a"
---

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

Discussion

# [Knowing the Difference between HTMLCollections and Nodelists](https://javascript-insights-by-rohit.hashnode.dev/knowing-the-difference-between-htmlcollections-and-nodelists?utm_source=hashnode&utm_medium=feed)

I was being friendly with the DOM and i have used some document methods and as i used the document.getElementsByTagname() i received an collection of elements with the same tagname i have used in my w

Mar 17 · 6 min read · javascript-insights-by-rohit.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#htmlcollection](https://hashnode.com/tag/htmlcollection)
-   [#htmlcollection-vs-nodelist](https://hashnode.com/tag/htmlcollection-vs-nodelist)

## Written by

[Rohit Ingale](https://hashnode.com/@rohit0667)

@rohit0667

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
