|
|
Building Web Pages From Ground Zero By Professor Nibble ã Nibble University 2000-2007 Hyperjump to Extra Space, Underline, Assignment FORMATTING TEXT - Lesson 3 |
|
|
BOLD <B></B> and ITALICS <I></I> |
|
|
These two formatting tags are very simple to use. Be sure to include the closing tag or your formatting will continue to the rest of the page. |
|
|
Example 1 <B>This text is bold. </B>This text is normal. |
|
|
Result: This text is bold. This text is normal. |
|
|
Example 2 <I>This text is in italics. </I>This text is normal. |
|
|
Result: This text is in italics. This text is normal. |
|
|
Example 3 <B><I>This text is bold & in italics. </I></B>This text is normal. |
|
|
Result: This text is bold & in italics. This text is normal. |
|
Notice how the italics tags are nested inside the bold tags. From what I've read, this order is important. However, in my tests I've failed to prove this. Regardless, properly nesting your tags should be a priority. There must be more to this than I know, so I just follow the rules. If you start with <B><I> you should end with the opposite - </I></B>. |
|
|
EXTRA SPACE - |
|
|
As I've already mentioned, a browser only recognizes one space between words. Web page builders have come up with all kinds of tricks to overcome this limitation. The easiest I've found is to add several codes that stand for a space - If you want to indent a paragraph, for instance, you could type in five of these space codes to give you the space you desire. Take a look at this example: |
|
|
<H3>Example of Spacing</H3> |
|
|
Result: Example of Spacing |
|
This is not the prettiest way of coding extra spaces, but it works. Using copy and paste makes the process quite painless. |
|
|
UNDERLINE <U></U> |
|
|
I do not recommend using the underline tag very much. Think about this - What do you do when you're surfing the net and see some text that is underlined? If you're like me, you click on it. Underlining text can be confusing to those viewing your web page as they think you have put a link on the text. If you don't know what that means you didn't really read lesson 1 very well. However, it is only right that you know how to use it if you insist. The underline tag is used just like the bold and italics tags. Example: |
|
|
Be sure to use the <U>underline</U> tag sparingly. |
|
Result: Be sure to use the underline tag sparingly. |
|
|
Assignment - Lesson 3
|
|
|
|