␡
- Getting Started with i-mode Text Formatting
- Creating Paragraphs
- The Paragraph Element
- Creating Space with Breaks
- Applying Text Styles
- Font Styles
This chapter is from the book
Creating Space with Breaks
Another i-mode HTML element that will allow you to create line breaks within your document is the br element. The br element instructs the browser to insert one carriage return at the place where the <br> tag is placed in the document. The p element will cause the browser to insert two carriage returns at the beginning of the <p> tag.
You can see the difference between the p and br elements in Listing 3.
Listing 3 - Using the Paragraph and Break Elements
<html> <head> <title>Contact us</title> </head> <body> <p> Phone: <br> 03-5766-3630 <p> Fax: <br> 03-5766-3631 </body> </html>