Hi there,
Does anyone know of a good resource to explain good naming conventions for HTML ID and classes and whether to prefix with IDs with an element type i.e. btn or button or similar?
Should classes be plural or singular? I get that IDs should be singular due to them being unique, but what about classes?
IDs and classes should use nouns, right?
I am using pages that inject other pages in the existing pages, kind of like partial pages ... hence... I was wondering if anybody as prefixed a name in front of IDs and/or classes .. kind of like a namespace or similar?
Any comments or insights really appreciated.