formatting tags are:
Tip to Remember
5. Basic Text Formatting
After any length of time on the Internet, youll notice that a Web page is made up of more than just plain words on a screen. There are headlines, paragraphs, graphics, colors and much more. Its a lively place to be.
Our next tags--headline, paragraph, line break and horizontal rule--will help us make our current page a lot more exciting. Lets learn how.
And here is how each level looks in a browser.
Lets add a headline to our Web page document.
Step 1 Load your text editor and open your file: firstpage.html This is what you should see:
Step 2 Add the <h1> tag to the words "Hello world." as shown in red.
Step 3 Save the file
Step 4 Open up Netscape Navigator.
Go to where you saved your file, click on it. This will bring you back to the dialogue box, which should now be showing your file.
Your new page should look like in your browser.
& Line Breaks
This is a container tag and must have a beginning and an ending.
To add a single line of space, you use break tag:
This is an empty tag and stands alone. You can use the <br> tag to insert one or more blank lines.
Wow, what a lot to take in. Let's apply what we've learned.
Step 1 Load your text editor.
Step 2 Open the file: firstpage.html. Your code should look like this:
Let's add some more text so that we can use the new tags that we have learned. Add tags and text that appear in red.
Your latest revision should look like this in your browser.