See “The id and class attributes in HTML5” for more information. You can view this page with classes instead of ids if you wish.

Valid HTML5!