Bill's Playscript Library
Web TV Tutorial
Breaks And Lines
WebTv Gif


BREAKS AND LINES

BREAKS:


Unlike typing on a typewriter, putting words on your homepage does not respond to the normal 'carriage return.' Unless you are using the <tt> font (see fonts discussed in another part of this tutorial), you will need to place the line and paragrapgh breaks using the <br> and <p> commands/tags.

The <br> tag is used when you just want to
end
one line
of text
and start another...

The <p> tag is used when you want a blank line placed

between

the lines

of text...




Important Note:
The <p> tag should always precede a line of text. In otherwords, if you want to have a space between a section of text and an image, do not use the <p> tag... Instead use several of the <br>tags... Using the <p> tag before an image is bad HTML coding and may cause a problem for some browsers...

LINES:


The <hr> command/tag can be used to create 'line breaks' such as the one you saw above (right before the 'Important Note'... you can alter it's width, thickness and placement as shown below:


•••••

To Create A Line Like This:




Which goes across the page (or table's) entire width...

Use This Code:




•••••

To Create A Line With A Specific Width Like This:




(The Width Value Used Here Is '50')

Use This Code:




•••••

To Create A Line Which Has A Width That Is A Percentage Of The Page (Or Table) Like This:




(The percent in this case was '50')

Use This Code:




•••••

To Position (Or Align) A Line Like This:



(Aligned Left)


Or This:



(Aligned Center)


Or Like This:



(Aligned Right)


Note:
The width used was '50' - this can be changed as needed.

Use These Codes:


Note:
Of course, if you have cntered everything on your page (or inside a table), the 'hr' line will automatically be centered.



•••••

You Can Also Give The Line Height ('Size') Like This:




(Both width & size values of 50 used here.)
By Using This Code:




•••••

GO TO WEBTV TUTORIAL MAIN PAGE