<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Javascript checking HTML element type'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Thu, 23 Apr 2026 11:16:53 +0000</lastBuildDate>
    <item>
      <title>charllykorpa8698 said on 05/Dec/2022</title>
      <link>https://snipplr.com/view/63103/javascript-checking-html-element-type</link>
      <description>&lt;p&gt;There are a few ways to check whether an HTML element is a certain type in Javascript. The most common way is to use the `tagName` property, which will return a string of the element's type. Another way is to use the `nodeType` property, &lt;a href="https://cbdisolationly.com"&gt;CBD And Immune System&lt;/a&gt; which will return a number that corresponds to the element's type.&lt;/p&gt;</description>
      <pubDate>Mon, 05 Dec 2022 15:44:32 UTC</pubDate>
      <guid>https://snipplr.com/view/63103/javascript-checking-html-element-type</guid>
    </item>
  </channel>
</rss>
