Are they allowed? and do they work with all browsers?
Example:
<div role = "region" id = "some-id" class = "a-class another-class">
Yes, any amount of whitespace is allowed and will work in all browsers.
One consideration - this will add to the page size, so if bandwidth and performance are concerns, try to limit the amount of whitespace you use.
1.4m articles
1.4m replys
5 comments
57.0k users