Community Central
Community Central
(Added link to Help:Math)
Tag: Source edit
(Added various text styles. Changed heading names to match the editor menus.)
Tag: Source edit
Line 11: Line 11:
 
| Text in a regular paragraph format
 
| Text in a regular paragraph format
 
|-
 
|-
! Heading 2
+
! Heading (h2)
| <h2>is the highest (listed) level of paragraph formatting. This is meant for major section headings.</h2>
+
| <h2>is the highest (listed) level of paragraph formatting. This is meant for major section headings and is usually set off by a horizontal rule across the width of the text area.</h2>
 
|-
 
|-
  +
! Sub-heading 1 (h3)
! Heading 3
 
 
|<h3>is a sub-header and can be used as a sub-section heading</h3>
 
|<h3>is a sub-header and can be used as a sub-section heading</h3>
 
|-
 
|-
  +
! Sub-heading 2 (h4)
! Heading 4
 
 
|<h4>is a smaller sub-header</h4>
 
|<h4>is a smaller sub-header</h4>
 
|-
 
|-
  +
! Sub-heading 33 (h5)
! Heading 5
 
 
|<h5>is even smaller</h5>
 
|<h5>is even smaller</h5>
 
|-
 
|-
  +
! Sub-heading 4 (h6)
! Heading 6
 
 
|<h6>is the smallest sub-header option</h6>
 
|<h6>is the smallest sub-header option</h6>
 
|}
 
|}
Line 51: Line 51:
 
! Preformatted
 
! Preformatted
 
| <pre>A large amount of text that should be displayed in a fixed-width font</pre>
 
| <pre>A large amount of text that should be displayed in a fixed-width font</pre>
  +
|}
  +
  +
== Styles ==
  +
Changing the basic font type for emphasis or annotation.
  +
{| class="article-table"
  +
! style="width:25%;" | Format option
  +
! style="width:75%;" | What it will look like
  +
|-
  +
! Bold
  +
| <b>This text is rendered in the bold version of the normal font.</b>
  +
|-
  +
! Italic
  +
| <i>This text is rendered in the italic version of the normal font.</i>
  +
|-
  +
! Strikethrough
  +
| <s>This text is rendered with a line through the normal font.</s>
  +
|-
  +
! Underline
  +
| <u>This text is rendered with a line beneath the normal font.</u>
  +
|-
  +
! Subscripts
  +
| This is an example of a<sub>subscript</sub>
  +
|-
  +
! Superscripts
  +
| This is an example of a<sup>superscript</sup>
 
|}
 
|}
   

Revision as of 21:56, 25 February 2021

This page will give you an idea of what some of the most basic text formatting looks like. To figure out how to actually perform this formatting, please see these instructions.

Headings

Break up long articles into sections to help the reader stay interested. To do this, use headings.

Format option What it will look like
Normal text Text in a regular paragraph format
Heading (h2)

is the highest (listed) level of paragraph formatting. This is meant for major section headings and is usually set off by a horizontal rule across the width of the text area.

Sub-heading 1 (h3)

is a sub-header and can be used as a sub-section heading

Sub-heading 2 (h4)

is a smaller sub-header

Sub-heading 33 (h5)
is even smaller
Sub-heading 4 (h6)
is the smallest sub-header option

Lists

Lists can help to visually group related content and may be numbered or have bullet points.

  • Numbers: A numbered list will look like this:
  1. First item
  2. Second item
  3. Third item
  • Bullets: A bullet list will look like this:
  • First item
  • Second item
  • Third item

Code

Monospace text or preformatted text may be suitable for code or raw data.

Format option What it will look like
Code Inline technical text that should be displayed in a fixed-width font
Preformatted
A large amount of text that should be displayed in a fixed-width font

Styles

Changing the basic font type for emphasis or annotation.

Format option What it will look like
Bold This text is rendered in the bold version of the normal font.
Italic This text is rendered in the italic version of the normal font.
Strikethrough This text is rendered with a line through the normal font.
Underline This text is rendered with a line beneath the normal font.
Subscripts This is an example of asubscript
Superscripts This is an example of asuperscript

See also

Further help and feedback