HTML5 architecture and semantics assignment