---
title: "Discussion on \"InnerHTML vs InnerText vs textContent.\" | Hashnode"
description: "Discussion on \"InnerHTML vs InnerText vs textContent.\". What is the difference and which one should you use."
url: "https://hashnode.com/posts/innerhtml-vs-innertext-vs-textcontent/6138f3b7fc163b45c75344c2"
---

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

Discussion

# [InnerHTML vs InnerText vs textContent.](https://uche-blog.hashnode.dev/innerhtml-vs-innertext-vs-textcontent?utm_source=hashnode&utm_medium=feed)

What is the difference and which one should you use.

Sep 8, 2021 · 2 min read · uche-blog.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Uche Joseph](https://hashnode.com/@Uche-Joseph)

@Uche-Joseph · Nigeria

  
[View profile](https://hashnode.com/@Uche-Joseph)

Front end developer

## Responses 1

Markdown supported · ⌘↵ to post

[VED PRAKASH YADAV](https://hashnode.com/@vedprakash)

[Sep 8, 2021](https://hashnode.com/posts/innerhtml-vs-innertext-vs-textcontent/6138f3b7fc163b45c75344c2/comment/61390e0efc163b45c75346da)

Great article Uche

[Uche Joseph](https://hashnode.com/@Uche-Joseph)

[Sep 8, 2021](https://hashnode.com/posts/innerhtml-vs-innertext-vs-textcontent/6138f3b7fc163b45c75344c2/comment/61390e0efc163b45c75346da#reply-613916cec4916c2339f4f8e2)

Thank you for the feedback, Ved
