Posted by Jonathan N. Little on 05/20/06 18:39
DaVinci wrote:
> consider the codes
> <html>
> first line: there are some messages
> second line: another line
> </html>
>
> how to make the two lines information appear as two lines rather than
> make the two line become only one line.
>
> the webpages should looks like:
> first line: there are some messages
> second line: another line
>
> the webpages should not looks like:
>
>
> first line: there are some messages second line: another line
>
>
>
> is there any simple way to do it ?
>
In a document if your want to start a new line your create a new
paragraph, right? Well, same in HTML
<p>first line: there are some messages</p>
<p>second line: another line</p>
If both are contextually in the same paragraph but your require the
second part to be on another line, happens in poetry a lot then BR
(break line)
<p>first line: there are some messages<br><second line: another line</p>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|