Page 285 - DCAP101_BASIC_COMPUTER_SKILLS
P. 285
Basic Computer Skills
Notes 6. black
7. brown
Forced Line Breaks
There are many cases in which we want to end typing on one line, and start on the next.
To do this, we can use a simple HTML command. This is one of the few commands that we
don’t have to put an ending command on. Let’s say that we wanted to say “Hello, how are
you?”, but with each word on a separate line. All we have to type is:
Hello,<BR>how<BR>are<BR>you?
The outcome is:
Hello,
how
are
you?
Horizontal Rules
Every now and then, we might want to have a horizontal rule, or line in your page.
Horizontal rules can be many different sizes and lengths. We can also have the line be solid
black, by typing NOSHADE. Here are several examples of sizes and widths, and what the
outcome is:
<HR SIZE=1 WIDTH=100%>
<HR SIZE=5 WIDTH=50%>
<HR SIZE=25 WIDTH=75%>
<HR SIZE=3 WIDTH=100%>
<HR NOSHADE SIZE=1 WIDTH=100%>
<HR NOSHADE SIZE=3 WIDTH=100%>
<HR NOSHADE SIZE=10 WIDTH=20%>
Character Formatting
We may want to format some of your text differently than others using text styles. There
are several types of styles of text that you can use: bold, italic, underline, strikeout, superscript ,
, teletype, and blinking text are examples. To do these styles, surround text with the
subscript
following commands:
<b>, </b> for bold
<i>, </i> for italic
<u>, </u> for underlined
<strike>, <strike> for strikeout
<sup>, </sup> for superscript
<sub>, </sub> for
subscript
<tt>, </tt> for teletype
<blink>, </blink> for blinking text (very annoying)
278 LOVELY PROFESSIONAL UNIVERSITY