Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Cleanup instructions  





2 More info  





3 Finding more articles to clean  














Category:Articles with HTML markup: Difference between revisions






فارسی
 

Edit links
 









Category
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Help
 

From Wikipedia, the free encyclopedia
 


Browse history interactively
 Previous edit
Content deleted Content added
→‎Cleanup instructions: add advice for <var>
 
(35 intermediate revisions by 15 users not shown)
Line 3: Line 3:


This [[WP:CAT|category]] contains all pages tagged by {{t|cleanup HTML}}.

This [[WP:CAT|category]] contains all pages tagged by {{t|cleanup HTML}}.


There are several ways to find articles to work on:

* By longest waiting - see monthly subcategories below.

* [https://pageviews.toolforge.org/massviews/?platform=all-access&agent=user&source=category&range=last-month&subjectpage=0&subcategories=1&sort=views&direction=1&view=list&target=https://en.wikipedia.org/wiki/Category:Articles_with_HTML_markup By page views last month]



==Cleanup instructions==

==Cleanup instructions==



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 {{tl|cleanup HTML}} tag.

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


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



Here's what to do about each:

Here's what to do about each:

* {{tag|abbr|o}} &mdash; Use {{tl|abbr}}.

* <nowiki><tt></nowiki> - Obsolete; use <nowiki><code>, <kbd>, <samp></nowiki> or {{tl|mono}} instead. See [[Wikipedia:HTML5#tt]].

* {{tag|bdo|o}} &mdash; Use {{tl|rtl}} or {{tl|ltr}}.

* <nowiki><li>, <ol>, and <ul></nowiki> - Use "* " or "# " instead, or [[WP:NOTES|footnote syntax]]. <nowiki><ol></nowiki> is used legitimately with the "start" attribute to control numbering.

* {{tag|blockquote|o}} &mdash; Prefer {{tl|blockquote}}. See [[MOS:QUOTATIONS]].

* <nowiki><table>, <tr>, <td>, <th></nowiki> - see [[Help:Table]].

* {{tag|br|c}} &mdash; Should be {{tag|br|s}} to be valid HTML. Any other variations like {{tag|br|o}}, <syntaxhighlight lang="html" inline><br/></syntaxhighlight>, and <syntaxhighlight lang="html" inline><br ></syntaxhighlight> can also be changed to {{tag|br|s}} 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]].

* <nowiki><i>or<em></nowiki> - Use <nowiki>''</nowiki> (for typography) or {{tl|em}} (for emphasis where italics otherwise not required); be sure to follow [[MOS:ITALICS]].

* {{tag|b|o}} and {{tag|strong|o}} &mdash; Use {{code|'''}} instead, or remove bolding if [[MOS:BOLD]] says bolding isn't needed. In unusual cases, use {{tl|strong}}.

* <nowiki><dd>, <dt>, and <dl></nowiki> - convert to definition list following [[MOS:DLIST]].

** Note that [[MOS:BOLD]] indicates that use of {{tag|strong|o}} is allowed.

* <nowiki><cite></nowiki> - Use <nowiki><ref></nowiki> 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.

* {{tag|center|o}} &mdash; Use {{tl|center}} for most text, otherwise see [[Wikipedia:HTML 5#center]].

* <nowiki><p></nowiki> - Can just use an empty line between paragraphs.

* {{tag|cite|o}} &mdash; Use {{tag|ref|o}} 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.

* <nowiki><strong> and <b></nowiki> - Use <nowiki>'''</nowiki> instead, or remove bolding if [[MOS:BOLD]] says bolding isn't needed. In unusual cases, use {{tl|strong}}.

* {{tag|dd|o}}, {{tag|dt|o}}, and {{tag|dl|o}} &mdash; Convert to definition list following [[MOS:DLIST]].

* <nowiki><name=></nowiki> - Usually a broken <nowiki><ref name=...></nowiki>

* {{tag|font|o}} &mdash; Obsolete; see [[Wikipedia:HTML 5#font]] for cleanup instructions.

* <nowiki></br></nowiki> - Should be <nowiki><br /></nowiki> to be valid HTML.

* {{tag|hr|o}} and {{tag|hr|s}} &mdash; Use {{code|----}} or remove entirely.

* <nowiki><hr> and <hr/></nowiki> - Drop or use <nowiki>----</nowiki>

* {{tag|i|o}}or{{tag|em|o}} &mdash; Use {{code|''}} (for typography) or {{tl|em}} (for emphasis where italics otherwise not required); be sure to follow [[MOS:ITALICS]].

* <nowiki><font></nowiki> - obsolete; see [[Wikipedia:HTML 5#font]] for cleanup instructions.

** Note that [[MOS:EMPHASIS]] indicates that use of {{tag|em|o}} is allowed.

* <nowiki><ins></nowiki> - usually should just be removed. If underlining is needed, use {{tl|underline}}. In rare cases, it can be kept to actually indicate inserted text, which is its intended purpose under the HTML standard.

* {{tag|li|o}}, {{tag|ol|o}}, and {{tag|ul|o}} &mdash; Use "# " or "* " instead, or [[WP:NOTES|footnote syntax]]. {{tag|ol|o}} is used legitimately with the "start" attribute to control numbering. See [[Wikipedia:Manual of Style/Lists]].

* <nowiki><center></nowiki> - obsolete - see [[Wikipedia:HTML5#center]] for replacements

** Note that [[Wikipedia:Manual of Style/Lists#List styles]] indicates that use of {{tag|li|o}}, {{tag|ol|o}}, and {{tag|ul|o}} is allowed.

* <nowiki><strike></nowiki> - obsolete - see [[Wikipedia:HTML5#strike]] for replacements

* <syntaxhighlight lang="xml" inline><name=></syntaxhighlight> &mdash; Usually a broken <syntaxhighlight lang="html" inline><ref name=...></syntaxhighlight>

* <nowiki><rb></nowiki> - obsolete - see [[Help:HTML in wikitext#rp, rt, ruby]] for replacements

* {{tag|p|o}} &mdash; Use a blank line or {{tl|pb}} to separate paragraphs.

* <nowiki><samp></nowiki> - {{tl|samp}} has more distinctive styling

* {{tag|ruby|o}}, {{tag|rt|o}}, and {{tag|rp|o}} &mdash; Templates are preferred for simplicity. See [[Help:HTML in wikitext#rp, rt, ruby]] for replacements.

* {{tag|table|o}}, {{tag|tr|o}}, {{tag|td|o}}, {{tag|th|o}}, {{tag|caption|o}} &mdash; Convert to wiki syntax; see [[Help:Table]].

* {{tag|tt|o}} &mdash; Obsolete; use {{tag|code|o}}, {{tag|kbd|o}}, {{tag|samp|o}}, {{tag|var|o}} or {{tl|mono}} instead, or even better {{tl|code}}, {{tl|kbd}}, {{tl|samp}}, or {{tl|var}}. See [[Wikipedia:HTML5#tt]].

* {{tag|u|o}} &mdash; Use {{tl|underline}}.

* {{tag|var|o}} &mdash; Use {{tl|var}} for computer variables and {{tl|mvar}} for math variables (which use a serif font).

* {{tag|wbr|o}} &mdash; Rarely needed, but if necessary {{tl|shy}} is preferred over this and <code>&amp;shy;</code>. See [[Help:Line-break handling#%3Cwbr /%3E and soft hyphens|Help:Line-break handling]].


==More info==


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



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

Documentation helpful for making corrections:

* [[Help:Wikitext]] for wiki equivalents of HTML tags

* [[Help:HTML in wikitext]] for a canonical list of HTML tags and some wiki equivalents

* [[Help:HTML in wikitext]] for HTML that is allowed in

* [[Help:Wikitext]] for more comprehensive wiki syntax how-to and more equivalents



==Finding more articles to clean==

==Finding more articles to clean==

Line 37: Line 53:

[[Category:Wikipedia articles with style issues by issue|HTML]]

[[Category:Wikipedia articles with style issues by issue|HTML]]

[[Category:Wikipedia maintenance categories sorted by month]]

[[Category:Wikipedia maintenance categories sorted by month]]

[[Category:Articles covered by WikiProject Wikify]]


Latest revision as of 01:52, 18 April 2024

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:

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.


Retrieved from "https://en.wikipedia.org/w/index.php?title=Category:Articles_with_HTML_markup&oldid=1219488476"

Category: 
Wikipedia articles with style issues by issue
Hidden categories: 
Hidden categories
Wikipedia maintenance categories sorted by month
Articles covered by WikiProject Wikify
 



This page was last edited on 18 April 2024, at 01:52 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki