title: Is it alright to add custom Html attributes?
body: <p>I have a site I'm working on where I want to mark if a row of data has been changed.
  If something has been changed in that row I would mark it with a custom attribute
  like so.</p>
  
  <pre><code>&lt;tr&gt;
    &lt;td isDirty="true"&gt;
       ....row data
    &lt;td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>This works great with jQuery and it doesn't add to much code to my page.</p>
  
  <p>But is this really the correct way of doing something like this and what are the downsides?</p>
  
  <p>I guess another way of doing this would be like this, but it seems like over kill.</p>
  
  <pre><code>&lt;tr&gt;
    &lt;td&gt;
       ....row data
       &lt;input id="isDirty" type="hidden" value="true" /&gt;
    &lt;td&gt;
  &lt;/tr&gt;
  </code></pre>