Writing Websites
http://www.tkhome.net 

 

Paragraphs

If you want to write paragraphs you use the <p>-tag.

Example:
<p>This is the first paragraph.</p>
<p>And this the second.</p>

This source will be shown like this::

This is the first paragraph.

And this the second.

You can also write paragraphs in the centre or in the right:
<p align="center">Center</p>
<p align="right">Right</p>

This will shown like this:

Center

Right

 

Line breaks

In a paragraph you can also define some breaks: <br>
Example: <p>In this text<br>is a break.</p>
Result:

In this text
is a break.

The opposite: <nobr> prevents breaks.
Example: <p><nobr>This text is quite long, but it the browser doesn't break it.</nobr></p>
Result:

This text is quite long, but it the browser doesn't break it: Sherlock Holmes and Doctor Watson lived at 221b Baker Street between 1881-1904, according to the stories written by Sir Arthur Conan Doyle. The house was last used as a lodging house in 1936 and the famous 1st floor study overlooking Baker Street is still faithfully maintained as it was kept in Victorian Times.

 

[Home] [Basics] [Headlines]
[Paragraphs] [Links]

top 

TK Home
©2002 Thomas Kohlwein