Headings

Headings are what you use to separate a page into different sections. There are six headings, each one smaller than the next. In HTML, the tags are :

  • <h1>Heading 1</h1>
  • <h2>Heading 1</h2>
  • <h3>Heading 1</h3>
  • <h4>Heading 1</h4>
  • <h5>Heading 1</h5>
  • <h6>Heading 1</h6>

You create headings by using this syntax :

+ Heading 1
++ Heading 2
+++ Heading 3
++++ Heading 4
+++++ Heading 5
++++++ Heading 6

The above code looks like :

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

General Heading Styles

Bar

The below code will make all your headings look like bars. You will want to change the color to your tastes. Note that this will also make the <h1> in the #header (the title of your wiki) appear as a bar.

h1, h2, h3, h4, h5, h6
{
background-color:#EEE;
}

If you don't want the <h1> in #header to appear as a bar, add this :

#heading h1
{
background-color:transparent;
}

If you want it to appear as a different color, just replace transparent with the color of your choice.

Targeting Headings

You can have three different styles of headings. Well, two and 1/3. The difference is where the <h1>..etc tags are located. There are three places :

1. #header
2. #page-content
3. #side-bar

page tags: heading html
page_revision: 1, last_edited: 1203910636|%e %b %Y, %H:%M %Z (%O ago)