Difference between revisions of "Category:Pages using invalid self-closed HTML tags"

From Detective Conan Wiki
m (Protected "Category:Pages using invalid self-closed HTML tags": Actually useful category. It auto-populates when the conditions are met. ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(No difference)

Latest revision as of 17:57, 2 June 2020

Pages in this category contain invalid self-closed HTML tags, such as <b/>, <div/>, <span/>, <p/>, and <td/>. (Valid tags defined in the HTML5 specification, like <br/>, <hr/>, and <wbr/>, do not cause this error.)[1][2]. The behavior of these invalid tags will change soon, to be consistent with the HTML5 specification, so their use in wikitext is deprecated.

Pages are also automatically placed in this category by malformed tags like </center/>, which should usually be changed to </center> (remove the final slash); or by malformed constructs like <s>...<s/>, which should usually be changed to <s>...</s> (move the slash from end to beginning of the closing tag).

For more info please check this page.

Notes

  1. ^ The full list of valid self-closing tags in HTML5 is: area, base, br, col, embed, hr, img, input, keygen, link, meta, param, source, track, and wbr. However, only <br/>, <hr/>, and <wbr/> are allowed through the parser. The HTML pre tag is superseded by the MediaWiki XML pre tag.
  2. ^ Some MediaWiki XML tags are also valid when self-closed, like <nowiki/> and <pre/>, as well as some extension tags like <ref/> and <references/>

Pages in category "Pages using invalid self-closed HTML tags"

This category contains only the following page.