How to Style Text With HTML

Posted by Anonymous , 9/5/2007 Tags:StyleTextWithHTML
Post By :
Anonymous
Rate:
Vote

How to Style Text With HTML

Introduction

HTML, or Hypertext Mark-up Language, has been around for years and is the basis for most web programming. Although other languages are being added to supplement, and in some cases take over, HTML is the basic tool for web page design. One essential function of HTML is to style text. Text added to HTML is styled by the use of certain "tags" enclosed in brackets. Read on to learn how to style text with HTML.

Instructions

Difficulty: Moderate

Steps

1

Step One

Go to a portion of your website code where you want to add text.
2

Step Two

Before you add text, choose a font and use the font tag, for example: < font = "Courier" >
3

Step Three

Add a font size, for example: < font size = 24 >
4

Step Four

Add the color you want your text to be, for example: < font color = "red" >. Keep in mind the color of your background: black text on black or white on white will not show up at all to the reader.
5

Step Five

Add text styles: < b > for bold, < i > for italic and so on.
6

Step Six

Go back to page preview to check that the text loaded properly. If it is not right, get back into the code and change it.
7

Step Seven

When finished with the text that you want styled, close your style commands with an HTML tag containing a backslash, for example < /b > to end bold text.

Tips & Warnings

  • Due to formatting restrictions, the HTML tags shown here have spaces between the brackets and the characters next to them. In your code, there shouldn't be any spaces there.
Tools: |