I'm working on an online store. I've learned a little PHP and so I'm using a single template file with some conditional includes and such rather than building separate product pages (no database yet though, still learning!).
So I have section
s that only exist once per instance of the template (ie once per page) such as section id="product_image"
. Normally that would be identified with an id
. But on a template which is reused a bunch of times do you think class
would be more semantically appropriate? (yes I know there's no functional/technical need to switch to class
)