Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The author says never to put data in attributes, always put it in tags. He shows and ID tag inside and ASSET tag.

The ID should be an attribute, and all the other data should stay as tags. This is because the ID won't change and identifies the ASSET. Anything else could change and is just data.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: