The HTML5 documentation recommends putting the code element inside the pre element, but I don\'t understand how this is better or more semantic tha
code
pre
shows line breaks!
This prevent you using php function such as nl2br() or adding manually at every line end.
Regards, Ghost