Home > Articles > Networking > Wireless/High Speed/Optical

Formatting and Designing Text

  • Print
  • + Share This
Creating pages for i-mode differs from other wireless programming in that there is a greater range of formatting and design that you can control. This has lead to the popularity of i-mode because users enjoy the experience of surfing i-mode graphical sites. In this article, Paul Wallace gets you up-to-speed on i-mode text formatting and design.
This chapter is from the book

This chapter is from the book

Getting Started with i-mode Text Formatting

To begin programming in i-mode HTML, the order of tags will be familiar to anyone who has worked with HTML for the desktop Web. The html element comes first, followed by the head and then the body elements. Between the beginning and end of the <head> tag is where the title element is placed. All of the text, images, links, and other elements of your page will be enclosed within the <body> tag.

Remember that the future markup language for mobile sites is XHTML Basic, so for your page to be well-formed, be sure to end all tags appropriately and in the proper order. A lot of sloppy HTML pages have been written in the past without an end tag for the body or html element, but this is a serious problem when using XHTML Basic—because pages may not render at all. At any rate, it is best to get into the habit of creating valid and well-formed documents.

In this article, we'll just concern ourselves with i-mode HTML, and leave XHTML Basic for another lesson. Listing 1 shows the basic structure of an i-mode HTML page.

Listing 1—Basic Elements of the i-mode HTML Page

This is the first page of my i-mode site.
  • + Share This
  • 🔖 Save To Your Account