I\'d like to do the following, but is it semantically correct?
No it is not valid. You can verify it at W3C.
http://validator.w3.org/#validate_by_input+with_options
Paste this in the direct input and then validate.
Set the UTF8 encoding and select HTML5 when testing at W3C.