Prashant Handelprashanthandel.hashnode.dev·Dec 27, 2022innerText vs innerHTMLWhat is innerText? The innerText method is used to get the text within the text excluding the tag itself. It avoids the tags within it and only return the text values in the form of the string. For example <div id="HelloAll">Hello All <sp...1 like·99 readsinnerTextAdd a thoughtful commentNo comments yetBe the first to start the conversation.