WhatTheTag.com
WhatTheTag.com copied to clipboard
Prefer `<pre><code>` for computer code
The site recommends just the pre element for computer code. More appropriate would be the pre element together with the code element, that is, <pre><code>[</code></pre>].
See the HTML specification for rationale and examples.
Great spotting! Feel free to make a PR of this and if you also want to elaborate over the PRE element to see if it can be other use cases that could be relevant to lift in the flow that would be great! Otherwise I will make quick fix when I find the time.
I’m on the road but if I get a chance I’m happy to. Reporting was the best option.