Help:Text formatting
{{Wikipedia how to}}
Paragraphs
Paragraphs are separated by a single blank line.
{{markup
|
HyperText Markup Language
|HyperText Markup Language
HyperText Markup Language
}}
Bold
{{see|MOS:BOLD}}
Bold text is stylistically offset from other text without conveying extra importance. The most common use of boldface is to highlight the article title, and often synonyms, in the lead section. Do not use bold text for emphasis.
Use
to open and close bold text.
{{markup
|
|HyperText Markup Language
}}
Strong
{{see|Template:Strong}}
Visually, strong text displays the same as boldfaced text. However, on Wikipedia, the difference between them is that the "strong" element is used to indicatre importance or urgency.
Use
or {{tt|
{{markup
|
|HyperText Markup Language
}}
Italic
{{see|MOS:ITALIC}}
Italic type (text like this) should be used for certain names and titles, including court case names, named vehicles, and works of art and artifice.
Use
to open and close italic text.
{{markup
|
|The Iliad
}}
Emphasis
Font size
Use the template {{tt|
Use the template {{tt|
::
style="text-align:left;vertical-align:center;" | ||
{{tt| {{tt| | | Text inside "big" {{big| display in }} | ||
{{tt| {{tt| | | Without size-formatting, the text | ||
{{tt| {{tt| | | This text will {{small| display in a }} |
Note that the current default size depends on context and enclosing formatting: For example, footnotes and references default to displayed in a slightly smaller-than-usual font, and headings (of various levels) default to displaying in a slightly larger font.
Template {{tt|
Template {{tt|
Font style
; Teletype or typewriter fonts:
- {{tt|
{{tt| ... }} }} is a substitute for {{tag|tt}} in HTML. - {{code|
{{code| ... }} }} adds shading on top of the typewriter font.
; Serif fonts:
- {{code|
{{math| ... }} }} displays text in the serif font used by TeX for rendering text generated from input embedded in {{tag|math}}. TeX is the math typesetting software (mostly) installed on the wikipedia.
::Even if you don't edit math, the math font can be used to greatly improve the legibility of Greek text which us non-Greeks find hard to read in san-serif, with all the little shapely clues removed. Compare the {{tt|typewriter}}, {{math|math}}, and default san-serif fonts, below:
::
style="vertical-align:top;"
| {{nowrap|{{tt| | | (example how to use the math font template) |
style="vertical-align:top;"
| {{math| Είναι όλα ελληνικά για μένα }} | |(result of line above. Nice, isn't it?) |
style="vertical-align:top;"
| Είναι όλα ελληνικά για μένα | | (default, sans-serif font – even worse than the |
:* {{code|
Font color
{{See|Help:Wiki markup#Coloring and highlighting text}}