Help:Format

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(making more explicit)
(autoreplace: — → {{--}})
 
(includes 2 intermediate revisions)
Line 3: Line 3:
==Logical and Physical Tags==
==Logical and Physical Tags==
-
These HTML tags can be used to format text by typing ''<nowiki><tag>Text</tag></nowiki>''. The physical tags are used when you are merely are concerned with appearance. When meaning is meant to be conveyed with the text decoration, use the logical tags.
+
These HTML tags can be used to format text by typing ''<nowiki><tag>Text</tag></nowiki>''. The physical tags are used when you are merely concerned with appearance. When meaning is meant to be conveyed with the text decoration, use the logical tags.
{| width="100%" border="5" cellspacing="2" cellpadding="2" style="font-size:20px;text-align:center;"
{| width="100%" border="5" cellspacing="2" cellpadding="2" style="font-size:20px;text-align:center;"
|- bgcolor="#FFFF00"
|- bgcolor="#FFFF00"
! width="33%" | Physical Tag !! width="33%" | Result !! width="33%" | Logical Tag
! width="33%" | Physical Tag !! width="33%" | Result !! width="33%" | Logical Tag
|-
|-
-
| &lt;b&gt; || <b>bold</b> || &lt;strong&gt; ''(strongly emphasized)'' &lt;/strong&gt;
+
| &lt;b&gt; || <b>bold</b> || &lt;strong&gt;''(strongly emphasized)''&lt;/strong&gt;
|-
|-
-
| &lt;i&gt; || <i>italic</i> || &lt;em&gt; ''(emphasized)'' &lt;/em&gt;
+
| &lt;i&gt; || <i>italic</i> || &lt;em&gt;''(normally emphasized)''&lt;/em&gt;
|-
|-
-
| &lt;u&gt; || <u>underline</u> || &lt;ins&gt; ''(if inserted text is intended)'' &lt;/ins&gt;
+
| &lt;u&gt; || <u>underline</u> || &lt;ins&gt;''(if inserted text is intended)''&lt;/ins&gt;
|-
|-
-
| &lt;s&gt; || <s>strike</s> || &lt;del&gt; ''(if deleted text is intended)'' &lt;/del&gt;
+
| &lt;s&gt; || <s>strike</s> || &lt;del&gt;''(if deleted text is intended)''&lt;/del&gt;
|-
|-
-
| <br>&lt;big&gt;<br><br> || <big>big</big> || &mdash;
+
| <br>&lt;big&gt;<br><br> || <big>big</big> || {{--}}
|-
|-
-
| &lt;small&gt; || <small>small</small> || &mdash;
+
| &lt;small&gt; || <small>small</small> || {{--}}
|-
|-
-
| <br>&lt;sup&gt;<br><br> || super<sup>script</sup> || &mdash;
+
| <br>&lt;sup&gt;<br><br> || super<sup>script</sup> || {{--}}
|-
|-
-
| <br>&lt;sub&gt;<br><br> || sub<sub>script</sub> || &mdash;
+
| <br>&lt;sub&gt;<br><br> || sub<sub>script</sub> || {{--}}
|-
|-
-
| &mdash; || <blockquote>blockquote</blockquote> || &lt;blockquote&gt; ''(quoting a section of text)'' &lt;/blockquote&gt;
+
| {{--}} || <blockquote>blockquote</blockquote> || &lt;blockquote&gt;''(quoting a section of text)''&lt;/blockquote&gt;
|}<br>
|}<br>

Current revision as of 04:13, 4 November 2022

Here's how to format text:

[edit] Logical and Physical Tags

These HTML tags can be used to format text by typing <tag>Text</tag>. The physical tags are used when you are merely concerned with appearance. When meaning is meant to be conveyed with the text decoration, use the logical tags.

Physical Tag Result Logical Tag
<b> bold <strong>(strongly emphasized)</strong>
<i> italic <em>(normally emphasized)</em>
<u> underline <ins>(if inserted text is intended)</ins>
<s> strike <del>(if deleted text is intended)</del>

<big>

big
<small> small

<sup>

superscript

<sub>

subscript
blockquote
<blockquote>(quoting a section of text)</blockquote>

[edit] Colors

These color codes can be used to format text by typing <span style="color:(color)">Text</span>. Either the hex code or the color name given can be used. Colors which are not listed should be specified with a hex code.

Hexadecimal Value Result Name
#FF0000   red
#FF3300   orange
#FFFF00   yellow
#00FF00   lime
#00FFFF   cyan
#0000FF   blue
#003333   dark cyan
#FF00FF   fuchsia
#FFFFFF   white
#000000   black

Personal tools