Text Generator

Use the following text generator to change the styles of the text on your website. In HTML, text styles is specified using Cascading Style Sheets (CSS). The text generator below automatically creates these properties, as well as your chosen HTML element for enclosing the text.

Also see the Text Editor and the HTML Editor.

Text Basics

OR

Italic Bold Small Caps
Padding/Margins
Colors
Alignment/Spacing
Decorations

The Code

Here is the code that was generated:

Customizing The CSS

The CSS is the code between the <style></style> tags. These are the codes that determine styles of your text. You can change the CSS properties (or add new ones) as you like.

If you intend to use the same styles across many pages (a whole website, for example), you should move them to an external style sheet.

More

You may also be interested in these copy/paste text code examples and this Text Editor.