From Support
Jump to navigation Jump to search

Could someone change the <tt> to <code>? Thanks.

Edit: There are also obsolete <tt> codes in this link: https://translatewiki.net/w/i.php?title=Special:SearchTranslations&query=tt&language=en

MuratTheTurkish (talk)09:04, 14 October 2020

I don't like the fact that "code" is "decorated. "tt" just implies a monospaced font and no decoration (which changes the line-height). Such deprecation is badly welcome. The alternative is "kbd". Anyway this "deprecation" is the result of a bad decision, given it is still fully supported in HTML5, and "code" has a different semantic which implies the use of a colorization in a supported programming language (which is not specified here, so it implies a default behavior as plain-text, which is wrong when it may contain internationalisable text)...

Verdy p (talk)18:34, 14 October 2020

Very bad then. That obsolete tag will completely removed in the future. I don't agree some users when they still want to use deprecated tags. Anyways, thanks for the information.

MuratTheTurkish (talk)18:58, 14 October 2020