How to Add Text to HTML
The Internet is a visual landscape of text and images. It's an accomplishment to be able to create your own little part in that world. Adding text to HTML to create a website can help do that. Whether it is to tell a story or sell a product, text can lead a web viewer in whatever direction you desire.
Instructions
-
-
1
Launch your HTML editing software. If you don't have any such program, you can use TextEdit (Mac) or Notepad (PC). Both programs come preinstalled on Apple or Windows operating systems.
-
2
Select "File" in the program's navigation menu and then "New." This will create a fresh blank document.
-
-
3
Create the body of the HTML document where the text will go. All HTML documents should have code to dictate where visible text appears. Here is an example of how the code needs to appear in your document:
<html>
<head>
<title>YOUR WEBSITE NAME</title>
</head>
<body>
</body>
</html>
-
4
Place your text in between the <body></body> tags. Any text placed outside of those tags will not appear in a user's browser window.
-
5
Click "File" and "Save As" in the program's navigation menu. Name your file, making sure you add .html to the end of it. Then select "Save."
-
1
Tips & Warnings
Remember to close any tags you open in your HTML code. Any unclosed tags can cause the entire page to look distorted.
References
- Photo Credit http image by chrisharvey from Fotolia.com