1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

HTML: How to make custom attribute in Html5 ?

  1. Clicks today:
    0
  2. Clicks this month:
    1
  3. Overall rating:
    5.00/5

HTML » Basics — about 2 years ago
Hi all, You can make your own custom attribute using data-. It allows possessive exchanged information between HTML and its DOM representation. It can work with javascript also, every browser will let you fetch and modify data- attributes using the getAttribute and setAttribute methods. For more information, Visit full Blog. http://findnerd.com/list/view/How-to-make-custom-attribute-in-Html5-/4534/

Comments

Your Comment

You must be logged in to post a comment.