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.

About HTML.am

HTML.am was created in order to provide HTML tools, codes, tutorials, and other resources to help webmasters create and maintain their HTML documents.

HTML.am aims primarily at beginners, but may also be useful to web professionals.

About the HTML Codes

The HTML codes on this website are provided free of charge, for you to use however you wish. Feel free to modify the code to suit your own needs.

Need Hosting?

Our partner site ZappyHost provides website hosting, domain names and related products at some of the best prices on the web. If you need web hosting, check them out!