Difference between revisions of "KRayWiki:Style-HTML"
(A page that demonstrates use of HTML markup.) |
m (Krb moved page Csdi wiki:Style-HTML to KRayWiki:Style-HTML: Fix internal wiki name reference.) |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
== Expected Use == | == Expected Use == | ||
− | Presence of an HTML tag in this list is not necessarily a recommendation of use, however, the following entities are either represented in the [[ | + | Presence of an HTML tag in this list is not necessarily a recommendation of use, however, the following entities are either represented in the [[kraywiki:Style|wiki style guide]], or, may be used on the basis that they already provide sufficiently unique rendering not easily accomplished by other methods (i.e. like use of local <nowiki><style></nowiki> containers, or via site CSS customization): |
* <nowiki><abbr></nowiki> | * <nowiki><abbr></nowiki> |
Latest revision as of 00:18, 16 January 2018
- See Also
- KRayWiki Style
Contents
HTML Support Overview
MediaWiki generally allows use of HTML tags in wiki text. A relatively full listing of potentially useful HTML elements appears on this page along with examples of how they affect the rendering of enclosed body text.
HTML Usage Considerations
Expected Use
Presence of an HTML tag in this list is not necessarily a recommendation of use, however, the following entities are either represented in the wiki style guide, or, may be used on the basis that they already provide sufficiently unique rendering not easily accomplished by other methods (i.e. like use of local <style> containers, or via site CSS customization):
- <abbr>
- <blockquote>
- <br>
- <code>
- <kbd>
- <strike>
- <sub>
- <sup>
- <u>
Discouraged Use
Elements With Identical Rendering
Many tags render identically in a default installation, so use of multiple tags to achieve the same rendering may get confusing and could complicate future development of customized CSS to make unique tags more distinctive in the way they affect the appearance of text.
Deprecated Elements Not Used
Certain element use is generally discouraged. The "deprecated" status is indicated by inclusion of the term "(deprecated)" in the sample rendering.
Reasons for deprecation may vary:
- Formatting is affected and can disrupt document structure.
- Latter versions of HTML (i.e. HTML5) do not support the element.
Usable HTML Elements
- <acronym>
- <acronym title="not available">NA</acronym> (deprecated)
- <abbr>
- i.e. (mouse-over tool-tip provided as indicated by a double-underscore)
- <address>
- <address>not supported</address>
- <b>
- bold
- <blockquote>
inset
- <big>
- enlarge (deprecated)
- <br/>
- line
break- <center>
centered inset (deprecated)- <cite>
- italics
- <code>
monospace font w/ shaded background
- <del>
strike- <dfn>
- italics
- <em>
- italics
- <i>
- not supported
- <ins>
- underlined
- <kbd>
- monospace font
- <pre>
boxed monospace- <p>
- set apart with
line breaks
before and after- <q>
not supported- <s>
strike- <samp>
- monospace font
- <small>
- shrink
- <strike>
strike- <strong>
- bold
- <sub>
- Normalsubscript
- <sup>
- Normalsuperscript
- <tt>
- monospace font (deprecated)
- <u>
- underline