Headings

To make a line or paragraph of text as a heading.

Textile example: Headings

h1. Header 1

h2. Header 2

h3. Header 3

h4. Header 4

Textile input (editable)

Browser output

HTML output


More about: Headings

1. A blank line is required after headings:

h2. A heading

Standard paragraph text.

2. Headings can be aligned left, right or centered:

h3<. Left aligned header

h3>. Right aligned header

h3=. Centered header

Further reading: Headings

  1. MDN: The HTML <h1> – <h6> heading element

See something wrong in this page? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.