|
| Bold <B>, Italics <I>, and Typewriter Text <TT> | |
Enter and View the following text as before.
There are two types of text formatting. The first is calledPhysical Styling. Some people argue that <I>Logical Styling</I> is better. However I feel the simplicity of Physical Styling makes it preferable.<P> There are three types of Physical Styles:<BR> The first would be <B>Bold</B><BR> The next would be <I>Italics</I><BR> And the third would be <TT>Typewriter Text</TT><P> You can combine physical styles. Be sure to <B><I>close in opposite order that you opened </I></B> so they are properly <TT><B>NESTED</B></TT>. What am I suppose to see? HTML tags consist of a left angle bracket (<), followed by the tag name and closed by a right angle bracket (>). Tags are usually paired, e.g. <B> and </B>. The ending tag looks just like the starting tag except a slash (/) precedes the text within the brackets. A common exception to the pairing rule is the <P> & <BR> tags. In this example, <B> indicates where to start bold formatting, </B> indicates the bold text is complete. <I> and </I> tags turn on and off Italics. Finally, <TT> and </TT> tags turn on and off Typewriter Text (used for code). When using multiple tags, for example to give text which is <B><I>bold AND italic</I></B>, you should close the tags in the OPPOSITE order you opened them. This way the tags wrap around one another and do not interfere with each others functions. |
|
http://www.ag.ohio-state.edu/~farmnet/ |