Tags to format content: bold, italic, underline, headlines
Here is a list of the most useful tags for formatting your Drupal content.
- bold (dark, heavy) text
- <strong>the text is boldeded</strong>
ok, it may seem silly, but "strong" is the proper tag to use, not bold. use "strong" to make bold text - italic
- <em>this text is in italics</em>
"em" is the proper formatting tag to make italics - underlined
- <u>underlining is easy</u>
however, since underlining is used for hypertags, using it to format regular text can be confusing; find a different way to emphasize text - <h1>
h1 - the big headline
</h1>
- <h2>
h2 - the 2nd biggest headline
</h2>
- used for page titles in most Drupal websites
- <h3>
h3 - the list goes down to 6
</h3>
- the 6 levels go from "h1" to "h6", not necessarily bigger to smaller; which one you use depends on the overall style of your Drupal sit
headlines
you'll notice the <hx></hx> tags are on different lines than the tagged text. all the h's are paragraphs; you cannot use these tags within a paragraph. you can use strong, em and many others on text that is less than a paragraph in scope.
