title: HTML store value into div and get its value
body: <p>I have a <code>div</code> like </p>
  
  <pre><code>&lt;div class="firstclass" id="first" data-value="firstvalue"&gt;SomeThing&lt;/div&gt;
  </code></pre>
  
  <p>Here I want to get the value in <code>data-value</code> like by doing <code>document.getElementById('first').value</code> or something like this..</p>
  
  <p>How can I get this value or if there is similar approach</p>