title: How to get list of attribute names and attribute values from tag?
body: <p>This is my HTML tag contains multiple attributes:</p>
  <pre><code>&lt;textarea id=&quot;text&quot; name=&quot;comment&quot; class=&quot;form-control&quot; style=&quot;color:#959595&quot; ... &gt;&lt;/textarea&gt;
  </code></pre>
  <p>How can I get list of all attribute name &amp; attribute values by pure JavaScript</p>