Technically speaking the closing </p> tag is optional in Html spec (not in XHtml) and can be omitted
- so replacing <br> w/ <p> should work in most browsers
(admittedly ugly and not the recommended coding long term approach)
See
http://www.w3.org/TR/html4/struct/text.html#edef-P
--
| Correct, which would leave a set of unused <p></p> tags where the first <br>
| was replaced
| and an unused opening <p> tag when the last <br> was replaced.
|
|
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed..................
| ..............................with a computer
|
| | > On 5/17/2004 4:21 PM, Steve Easton wrote:
| >
| > > That would work with the exception of the first opening <p> tag and the
| last
| > > closing </p> tag.
| > > As long as the user remembered to manually insert them it would work, if not
| I
| > > see a problem.
| > >
| > >
| > But wouldn't there normally be an opening <p> before the first <br> and
| > a closing </p> after the last <br> already?
| >
| > --
| > Paul S. Wolf, P.E. mailto
[email protected]
| > Past President, Great Lakes Region, Federation of Jewish Men's Clubs
|
|