No edit summary |
m (→Further help and feedback: Mass editing of links) Tag: Help |
||
(46 intermediate revisions by 29 users not shown) | |||
Line 1: | Line 1: | ||
− | [[File: |
+ | [[File:Code image.png|right|250px|border]] |
+ | [[File:Location Source.png|thumb|250px|How to access source mode in the [[Help:Classic editor|classic editor]]]] |
||
− | '''HTML (Hypertext Markup Language) |
+ | '''HTML''' (Hypertext Markup Language) is a language used on websites to format the layout and content. Wiki pages are generally managed by [[Help:Wikitext|wikitext]] rather than HTML, so only a limited number of HTML tags can be used on articles. |
HTML (and wikitext) can be written and managed while using [[Help:Editing|the editor]]'s source mode. |
HTML (and wikitext) can be written and managed while using [[Help:Editing|the editor]]'s source mode. |
||
− | ==HTML tags |
+ | ==Available HTML tags== |
− | The following HTML tags can be used on articles |
+ | The following HTML tags can be used on articles. Deprecated HTML tags will still work, but they may not in future software versions or browsers. |
+ | <div style="column-count: 3;"> |
||
− | {| class="article-table" width="100%" |
||
⚫ | |||
− | | width="33%" | |
||
− | * <nowiki>< |
+ | * <code><nowiki><acronym></nowiki></code> ''(deprecated)'' |
− | * <nowiki>< |
+ | * <code><nowiki><b></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><big></nowiki></code> ''(deprecated)'' |
− | * <nowiki>< |
+ | * <code><nowiki><blockquote></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><br /></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><caption></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><center></nowiki></code> ''(deprecated)'' |
− | * <nowiki>< |
+ | * <code><nowiki><cite></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><code></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><dd></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><del></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><dfn></nowiki></code> |
− | * <nowiki><div></nowiki> |
+ | * <code><nowiki><div></nowiki></code> |
− | * <nowiki><dl></nowiki> |
+ | * <code><nowiki><dl></nowiki></code> |
− | * <nowiki><dt></nowiki> |
+ | * <code><nowiki><dt></nowiki></code> |
− | * <nowiki><em></nowiki> |
+ | * <code><nowiki><em></nowiki></code> |
− | * <nowiki><font></nowiki> ''(deprecated)'' |
+ | * <code><nowiki><font></nowiki></code> ''(deprecated)'' |
⚫ | |||
− | | width="33%" | |
||
− | * <nowiki>< |
+ | * <code><nowiki><h2></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><h3></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><h4></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><h5></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><h6></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><hr></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><i></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><ins></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><li></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><ol></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><p></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><pre></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><q></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><rb></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><rp></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><rt></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><ruby></nowiki></code> |
+ | * <code><nowiki><s></nowiki></code> |
||
− | | width="33%" | |
||
− | * <nowiki>< |
+ | * <code><nowiki><small></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><span></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><strike></nowiki></code> ''(deprecated)'' |
− | * <nowiki>< |
+ | * <code><nowiki><strong></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><sub></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><sup></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><table></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><td></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><th></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><tr></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><tt></nowiki></code> ''(deprecated)'' |
− | * <nowiki>< |
+ | * <code><nowiki><u></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><ul></nowiki></code> |
− | * <nowiki>< |
+ | * <code><nowiki><var></nowiki></code> |
⚫ | |||
⚫ | |||
+ | </div> |
||
⚫ | |||
⚫ | |||
− | |} |
||
⚫ | |||
⚫ | |||
⚫ | :The use of [[Help:Wikitext|wikitext]] is recommended wherever possible, as HTML makes the text in the edit box harder to read and more intimidating for new users. |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | :CSS classes (<code>class="classname"</code>) can be stored in [[Help:CSS|site stylesheets]]. Both classes and CSS inline styles (style="color:pink;") can be used with the HTML tags listed above, but note that classes and styles can also be used with many types of wikitext, especially [[Help:Tables|tables, table rows and cells]]. |
||
⚫ | : The use of [[Help:Wikitext|wikitext]] is recommended wherever possible, as HTML generally makes the text in the edit box harder to read and more intimidating for new users. Complex uses of HTML and CSS can be hidden away in [[Help:Templates|templates]] where they are less likely to get in the way of the casual editor. |
||
⚫ | |||
+ | : Styling information can be stored in [[Help:Community CSS and JS|community CSS pages]] (using code like <code>class="classname"</code>). Both CSS classes and inline styling (<code>style="color: pink;"</code>) can be used with the HTML tags listed above, and they can also be used with many types of wikitext, particularly [[Help:Tables|tables, table rows and cells]]. However, please keep in mind that [[w:c:portability:Why you should avoid inline styles|use of inline styling should be limited]], as it can cause conflicts with the mobile experience of your community. |
||
− | ==See also== |
+ | == See also == |
− | *[[Help:Tables| |
+ | * [[Help:Tables|Tables]] |
− | *[[Help:Editing|Editing]] |
+ | * [[Help:Editing|Editing]] |
− | * |
+ | * [[m:Help:Editing|Wikimedia's help page]] |
− | * |
+ | * [[m:Help:HTML in wikitext|Using HTML in Wikitext]] |
− | * |
+ | * [[wikipedia:Wikipedia:Span tags|Information on using span tags]] |
− | ==Further help |
+ | == Further help and feedback == |
{{Help and feedback section}} |
{{Help and feedback section}} |
||
+ | [[be:Даведка:HTML]] |
||
− | |||
− | |||
− | |||
[[de:Hilfe:HTML]] |
[[de:Hilfe:HTML]] |
||
[[es:Ayuda:HTML]] |
[[es:Ayuda:HTML]] |
||
Line 88: | Line 85: | ||
[[it:Aiuto:HTML]] |
[[it:Aiuto:HTML]] |
||
[[ja:ヘルプ:HTML]] |
[[ja:ヘルプ:HTML]] |
||
+ | [[ko:도움말:HTML]] |
||
[[nl:Help:HTML]] |
[[nl:Help:HTML]] |
||
[[pl:Pomoc:HTML]] |
[[pl:Pomoc:HTML]] |
||
+ | [[pt:Ajuda:HTML]] |
||
+ | [[ro:Ajutor:HTML]] |
||
[[ru:Справка:HTML]] |
[[ru:Справка:HTML]] |
||
+ | [[tr:Yardım:HTML]] |
||
+ | [[uk:Довідка:HTML]] |
||
+ | [[vi:Trợ giúp:HTML]] |
||
[[zh:Help:HTML]] |
[[zh:Help:HTML]] |
||
− | |||
[[Category:Code help]] |
[[Category:Code help]] |
||
[[Category:Editing]] |
[[Category:Editing]] |
||
[[Category:Help]] |
[[Category:Help]] |
||
[[Category:Source editing]] |
[[Category:Source editing]] |
||
+ | [[Category:Tools & shortcuts]] |
Revision as of 07:03, 1 December 2019
HTML (Hypertext Markup Language) is a language used on websites to format the layout and content. Wiki pages are generally managed by wikitext rather than HTML, so only a limited number of HTML tags can be used on articles.
HTML (and wikitext) can be written and managed while using the editor's source mode.
Available HTML tags
The following HTML tags can be used on articles. Deprecated HTML tags will still work, but they may not in future software versions or browsers.
<abbr>
<acronym>
(deprecated)<b>
<big>
(deprecated)<blockquote>
<br />
<caption>
<center>
(deprecated)<cite>
<code>
<dd>
<del>
<dfn>
<div>
<dl>
<dt>
<em>
<font>
(deprecated)<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
<hr>
<i>
<ins>
<li>
<ol>
<p>
<pre>
<q>
<rb>
<rp>
<rt>
<ruby>
<s>
<small>
<span>
<strike>
(deprecated)<strong>
<sub>
<sup>
<table>
<td>
<th>
<tr>
<tt>
(deprecated)<u>
<ul>
<var>
<!-- ... -->
(displayed as in visual mode)
Usage notes
- Keep it friendly
- The use of wikitext is recommended wherever possible, as HTML generally makes the text in the edit box harder to read and more intimidating for new users. Complex uses of HTML and CSS can be hidden away in templates where they are less likely to get in the way of the casual editor.
- Combine it with CSS
- Styling information can be stored in community CSS pages (using code like
class="classname"
). Both CSS classes and inline styling (style="color: pink;"
) can be used with the HTML tags listed above, and they can also be used with many types of wikitext, particularly tables, table rows and cells. However, please keep in mind that use of inline styling should be limited, as it can cause conflicts with the mobile experience of your community.
See also
Further help and feedback
- Browse and search other help pages at Help:Contents
- Check Fandom Community Central for sources of further help and support
- Check Contacting Fandom for how to report any errors or unclear steps in this article