Help:Format

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(Logical and Physical Tags: explanation of the semsntics)
(making more explicit)
Line 8: Line 8:
! 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;b&gt; || <b>bold</b> || &lt;strong&gt; ''(strongly emphasized)'' &lt;/strong&gt;
|-
|-
-
| &lt;i&gt; || <i>italic</i> || &lt;em&gt; ''(emphasized)''
+
| &lt;i&gt; || <i>italic</i> || &lt;em&gt; ''(emphasized)'' &lt;/em&gt;
|-
|-
-
| &lt;u&gt; || <u>underline</u> || &lt;ins&gt; ''(if inserted text is intended)''
+
| &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;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> || &mdash;
Line 24: Line 24:
| <br>&lt;sub&gt;<br><br> || sub<sub>script</sub> || &mdash;
| <br>&lt;sub&gt;<br><br> || sub<sub>script</sub> || &mdash;
|-
|-
-
| &mdash; || <blockquote>blockquote</blockquote> || &lt;blockquote&gt; ''(quoting a section of text)''
+
| &mdash; || <blockquote>blockquote</blockquote> || &lt;blockquote&gt; ''(quoting a section of text)'' &lt;/blockquote&gt;
|}<br>
|}<br>

Revision as of 03:15, 23 August 2007

Here's how to format text:

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 are 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> (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>

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