Content types for loading directly with the browser

You can use the browser to load all of the content types mentioned in the previous section by:

  • Making an HTTP request directly through File > Open URL. For example: http://www.nokia.com

  • Using a hyperlink reference (HREF) within WML, HTML, or XHTML code to provide a link to another item, such as a new web page or image. For example

    <a href=http://www.nokia.com/Click_me.wbmp>Click me </a>

The browser can also load some the following content types:

  • application/x-nokiagamedata

  • application/x-wap-prov.browser-bookmarks

  • application/x-wap-prov.browser-settings

You can reference WMLScript with a hyperlink only within WML, HTML, or XHTML content. The browser cannot directly open the following format: application/vnd.wap.wmlsc

In-line content types

In-line content types within WML, HTML, and XHTML code display as a subcomponent of a page. Generally, all content types can be referenced, but only images can be displayed in-line. However, some exceptions apply. For example, wallpaper (image/vnd.nok-wallpaper) can be displayed in-line but cannot be referenced and a snapshot (image/vnd-nok-camera-snap) can be referenced but cannot be displayed in-line.

An example of an in-line format is: <img src="foo.gif" alt="Image Text"/>

The content types you can use in-line are:

  • image/gif

  • image/jpeg, image/jpg

  • image/png

  • image/vnd.wap.wbmp

  • image/bmp