by: Marty Beall
First, let's make a linebreak under the image. Do you remember how to do this? If not we can either use the BR tag or the HR tag, let's use the BR tag. The BR tag is invisible if you forgot. Let's start with the U tag, the U stands for underline and guess what that does...Right! it underlines the text.
So, all together you have: <HTML>-------------------------------------- New Document------------------------------------------------- Remember: Close off your tags when you're finished with them. Or it will cause some undesired effects. Okay, now let's skip a line under the "This is underlined text." line. To do this we'll use a new tag, the P tag. The P stands for paragagh and it's like skipping a line between paragraphs. It's how we skip lines on these pages. Now let's use the B tag, the B stands for bold and I think you know what this will do. It's used exactly the same as the U tag except instead of a U it's a B.
So, all together you have: <HTML>-------------------------------------- New Document------------------------------------------------- Okay, now let's skip another line using the P tag and use the I tag. The I tag stands for italics and is used exactly the same as the previous two tags except with an I.
So, all together you have: <HTML>-------------------------------------- New Document------------------------------------------------- Now that we've covered the basics for formatting text, let's try using the FONT tag. Note: not all browsers support the FONT tag. The FONT tag can have three different attributes, the FACE attribute, the SIZE attribute and the COLOR attribute. What do these attributes mean? FACE can change the font style right in the middle of a page, SIZE can change the size of the text in the middle of a page, and COLOR can change the color of the text in the middle of a page. Let's use another P and use all three attributes of the FONT tag at the same time in the next example.
So, all together you have: <HTML>-------------------------------------- New Document------------------------------------------------- Color is another RGB color or hexidecimal number, face is the actual font name (I use Arial on these pages), and size can be an integer from 1 to 7 (7 being the largest). Remember: you don't have to use every attribute at the same time for anything.
1. Got that? Baltimore MD : Technology : Getting Started with HTML : How to Build a Home on the Web |