Trichome

This category contains all pages tagged by {{cleanup HTML}}.

There are several ways to find articles to work on:

Cleanup instructions[edit]

Don't know which HTML tag is unwanted? Click the "Edit source" tab on the article page, and search (Ctrl+F in most web browsers) for the following. If you don't find any, feel free to remove the {{cleanup HTML}} tag.

Templates are preferred to HTML tags, preferably semantic tags, per MOS:DEVIATIONS.

Here's what to do about each:

  • <abbr> — Use {{abbr}}.
  • <bdo> — Use {{rtl}} or {{ltr}}.
  • <blockquote> — Prefer {{blockquote}}. See MOS:QUOTATIONS.
  • </br> — Should be <br /> to be valid HTML. Any other variations like <br>, <br/>, and <br > can also be changed to <br /> so that syntax highlighting will work, but only do this if you are making other changes. If possible, use a blank line or list formatting instead. See Help:Line-break handling.
  • <b> and <strong> — Use ''' instead, or remove bolding if MOS:BOLD says bolding isn't needed. In unusual cases, use {{strong}}.
    • Note that MOS:BOLD indicates that use of <strong> is allowed.
  • <center> — Use {{center}} for most text, otherwise see Wikipedia:HTML 5#center.
  • <cite> — Use <ref> instead if this is defining a footnote, or perhaps a Wikipedia:Citation template if this trying to format the contents of a footnote. See Wikipedia:HTML5#cite for more on how to fix misuse.
  • <dd>, <dt>, and <dl> — Convert to definition list following MOS:DLIST.
  • <font> — Obsolete; see Wikipedia:HTML 5#font for cleanup instructions.
  • <hr> and <hr /> — Use ---- or remove entirely.
  • <i> or <em> — Use '' (for typography) or {{em}} (for emphasis where italics otherwise not required); be sure to follow MOS:ITALICS.
    • Note that MOS:EMPHASIS indicates that use of <em> is allowed.
  • <li>, <ol>, and <ul> — Use "# " or "* " instead, or footnote syntax. <ol> is used legitimately with the "start" attribute to control numbering. See Wikipedia:Manual of Style/Lists.
  • <name=> — Usually a broken <ref name=...>
  • <p> — Use a blank line or {{pb}} to separate paragraphs.
  • <ruby>, <rt>, and <rp> — Templates are preferred for simplicity. See Help:HTML in wikitext#rp, rt, ruby for replacements.
  • <table>, <tr>, <td>, <th>, <caption> — Convert to wiki syntax; see Help:Table.
  • <tt> — Obsolete; use <code>, <kbd>, <samp>, <var> or {{mono}} instead, or even better {{code}}, {{kbd}}, {{samp}}, or {{var}}. See Wikipedia:HTML5#tt.
  • <u> — Use {{underline}}.
  • <var> — Use {{var}} for computer variables and {{mvar}} for math variables (which use a serif font).
  • <wbr> — Rarely needed, but if necessary {{shy}} is preferred over this and &shy;. See Help:Line-break handling.

More info[edit]

See MOS:MARKUP for wikitext generally being preferred to HTML.

Question about an HTML tag or wiki syntax not covered above? See:

Finding more articles to clean[edit]

Automated reports on database dumps, and links to live search results are available at Wikipedia:Typo Team/moss#HTML tags.

Subcategories

This category has only the following subcategory.

Leave a Reply