title: Can I set a custom attrubute as a directive to HTML tag like angular‘s directive?
body: <p>I wanner define a directive widthout angular or other framwork,
  which like this :</p>
  
  <pre><code>&lt;h1 moveable&gt;&lt;/h1&gt;
  </code></pre>
  
  <p>movableDirective  can make the element h1 do something.</p>
  
  <p>I could define a custom element like a 'movable-h1' extends HTMLHeadingElement,
  but without custom element how can i  implement this?  is there something called 'custom-directive' or 'custom-attribute'?</p>