How to Include Text in HTML
Text is a vital part of any website. It can help to tell a story or serve as a product description. Including text on a website is similar to typing it into any word processing software. The way it appears can also be altered to the site owner's preference.
- Difficulty:
- Easy
Instructions
-
-
1
Launch your HTML editor. If you don't have this type of software, you can use TextEdit (Mac) or Notepad (Windows). Both come installed on Apple or Windows operating systems.
-
2
Select "File" and "Open" from the program's navigation menu. Chose the HTML document you wish to edit.
-
3
Position your cursor where you'd like text. This should be between the <body></body> tags.
-
4
Type your text. This text can feature any letter or number. Certain characters and symbols are also accepted in HTML. There is no limit to how much text can appear on a Web page.
-
5
Alter the text's properties. You can change the font type, style, color and size with the following HTML tags:
Type: <font face="Tahome">Your text</font> (Change "Tahome" to any number of font types.)
Underline: <u>Your text</u>
Bold: <b>Your text</b>
Italics: <i>Your text</i>
Color: <font color="#FAF7E6">Your text</font> (Change "#FAF7E6" to the HEX code of the color of your choice.)
Size: <font size="3">Your text</font> (Change "3" to a higher or lower number to increase or decrease the font size.)
You can also combine font attributes:
<i><font face="Tahome" color="#FAF7E6" size="3">Your text</font></i>
-
6
Select "File" and "Save" from the program's navigation menu.
-
1
Related Searches
References
Resources
- Photo Credit website layout image by 6922Designer from Fotolia.com