more wikis
 

Help:HTML

出典: Wikia

ウィキア
Help
編集
基本的な操作
HTML
アーカイブ
拡張機能
管理者向けガイド
方針
コミュニケーション

ウィキアの編集では、以下に挙げるHTMLタグやインラインCSSが使えます。しかし、可能な限りMetaWikimedia:ヘルプ:ページの編集にあるウィキフォーマットの使用が推奨されます。

  • <b>
  • <big>
  • <blockquote>
  • <br>
  • <caption>
  • <center>
  • <cite>
  • <code>
  • <dd>
  • <div>
  • <dl>
  • <dt>
  • <em>
  • <font>
  • <h1>
  • <h2>
  • <h3>
  • <h4>
  • <h5>
  • <h6>
  • <hr>
  • <i>
  • <li>
  • <ol>
  • <p>
  • <pre>
  • <rb>
  • <rp>
  • <rt>
  • <ruby>
  • <s>
  • <small>
  • <span>
  • <strike>
  • <strong>
  • <sub>
  • <sup>
  • <table>
  • <td>
  • <th>
  • <tr>
  • <tt>
  • <u>
  • <ul>
  • <var>
  • <!-- ... -->

[編集] ウィキテキスト版

上記の多くはウィキテキストで代替可能です。たとえば、<b> は三重の' (''')で、<i> は二重の' ('') で代替できます。両方をかさねて使うには、それらをあわせて五重にしてください (''''') 。同じコードをもう一度使うことでコードを閉じることができます。

その他のタグについては、下記にリンクされているウィキアやウィキメディアのヘルプページを参照してください。今後の編集がやりやすくなりますので、ウィキコードの利用をお薦めします。

[編集] 参考

__NOWYSIWYG__ Some HTML tags can be used when editing Wikia. However, the use of 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 (class="classname") can be stored in site stylesheets. Both classes and CSS inline styles (style="color:pink;") can be used with the HTML tags listed below, but note that classes and styles can also be used with many types of wikitext, especially tables, table rows and cells.

Note: the "background-image" property must use full urls ("http://whatever.whatever/whatever/filename.ext"), not relative urls beginning with a slash. The url must be specified in a class in a stylesheet; it will not work if specified inline.

Many of the more 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.

The following HTML tags can be used at Wikia:

  • <abbr>
  • <acronym>
  • <b>
  • <big>
  • <blockquote>
  • <br />
  • <caption>
  • <center> (deprecated)
  • <cite>
  • <code>
  • <dd>
  • <del>
  • <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>
  • <u>
  • <ul>
  • <var>
  • <!-- ... -->

See also