Help:HTML

This guide will help you get started on learning the basics of HTML.

Text styles
There is a form of HTML used to stylize text. It is basic and spans the length of the text until it is closed. To use it, type

Style commands
Beginning note: Multiple style commands can be strung together by placing a semicolon after one command ends. For example, one can use This text is blue with a gray border to knock out both styles in one.

Color
Used to color text. Ex: This text is green. will produce:

This text is green.

Border
This will put a border around the text. There are two types of borders: solid and dashed lines. For example, This text has a solid green border which is 1 pixel thick. will produce:

This text has a solid green border which is 1 pixel thick.

Background-color
This will add a colored background to the text. For example, This text has a black background will produce:

This text has a black background.

-moz-border-radius
This is used to give a rounded edge to borders for users viewing the wiki with Mozilla Firefox. It can't be seen with any other browser. It must be used with the "border" style. For example: This text has a rounded border for Firefox viewers and a square border for other viewers. will produce:

This text has a rounded border for Firefox viewers and a square border for other viewers.

Padding
Padding is used to tell the wiki how far the background should go out. To use it, type W . Note that "em" should be included after the number, and it can be a decimal number. In addition, you can use "auto" for the padding. Do not place em after auto. Another note: This can only be used in conjunction with a background. It will not do anything otherwise. Ex: This text has a large background will produce:

This text has a large background.

Float
Float tells the wiki where the text should go. There are three commands: Left, right, and center. It will throw the text over to wherever you tell it. This should be used sparingly for text, as it can easily complicate pages. Don't use it in articles. Ex: This text is centered will produce:

This text is centered.

Margin
Margin is used to pad without having the background expand. It will also prevent the background from overshadowing other text. It uses the same commands as padding (Xem or auto). There can be two numbers used for the margin. The first one will be the horizontal margin between the text above and below the current text, and the second will be the vertical margin, or the distance from the edge of the page. Using only one number will designate that number for both margins. Ex: This text has a margin of 2em will produce:

This text has a margin of 2em.

Plainlinks
Plainlinks is technically not a style command. It is a class command which is used to take the arrow out of off-wiki links. For example, a link to zeldainformer normally appears like this: Zelda Informer. With Zelda Informer, it will appear as such:

Zelda Informer

DIV
Div is used to denote blocks of text, such as message boxes. It uses the same commands as the span style (with the exception of plainlinks).

DIV Class
The class of a div denotes what type of text it is. For example, You have no new messages|last change. will produce: You have no new messages|last change.

DIV Style
The DIV style is used to give the text block the appearance you want. The class is only what it is called. All of the commands for span style work for DIV style, with several new ones, as well.

Commands which remain unchanged

 * Padding
 * Margin
 * Color
 * -moz-border-radius
 * Background-color
 * Border
 * Float

Text-Align
This is used to specify the alignment of the text within the DIV. The commands are: Left, right, and center. Ex: This text is centered will produce:

This text is centered.

Height
Height is used to make the background taller or shorter. It can use pixels or em for the commands. In addition, this does not move other text, so it's possible to eclipse other text if you're not careful. Make sure to set the vertical margin if you want to change the height! Note that this also only extends the background downwards. Ex: This text has a background which is 5em tall will produce:

This text has a background which is 5em tall.