HTML standardization #139
Labels
enhancement
For stuff that needs to be improved
idea
For your feature ideas.
question
Further information is requested
TEH PROBLEM
Currently, Kokonotsuba's HTML output is an abominable mixture of different HTML standards - HTML 4.01, XHTML, HTML5, and in some cases not adhering to any standard at all. It's also doing a lot of styling with tags; (mis)using certain HTML tags/attributes (often deprecated ones) to modify the appearance of the page rather than using the appropriate HTML tags combined with CSS
TEH PROPOSAL
Since I'm going through Kokonotsuba's HTML/CSS output and overhauling it anyway (and since Kokonotsuba makes use of HTML5-only features such as
<video>
tags, localstorage, etc.), should I rewrite Kokonotsuba's existing HTML to be HTML5-compliant?Note that I wouldn't use non-backwards compatible tags just for the sake of it, although they often fail gracefully and there are ways you can provide fallbacks for older browsers while still supporting newer features. I recommend reading https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/HTML_and_CSS#common_cross_browser_problems
TEH BENEFITS
TEH NOT SO BENEFITS
TEH CHANGES
If Kokonotsuba is to go full HTML5, here's a few examples of things that will be changed:
<meta />
-><meta>
)<center>
,<font>
,align=
,border=
, etc.) with valid alternativesmargin-bottom
to add space below an element instead of<br>
)<span style="color: red;"><div>
-><div class="redText">
)The text was updated successfully, but these errors were encountered: