Fix htmlvalidator problems
In https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/3238 a validator is being added in order to prevent issues like https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/3236 . This ticket is to aggregate as a tracker for https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/3259 , https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/3240 and etc.
A lot of errors are thrown due to the deprecated <tt> element. What should we do about that one?
Alternatives are the <code>, <var>, <kbd>, <samp> and <pre> elements, but none of them fit, most of the time.
As a more generic solution, there is also <span style="font-family: monospace;">, but that's quite verbose. I'm currently leaning towards extracting the CSS and simplifying this to <span class="tt">, but I wonder if there's a better solution to this?
IMO <code> is good most of the time.
I think you are right. A quick search already shows over 1500 occurrences of <code> in a similar context.
@deepika-u As you seem to have interest in fixing/improving deprecation problems maybe you can help with this one?
All is done!