Note: Unless otherwise specified, only the mobile MISC platform is supported.
1. Exercise caution when using the table.
Before a page is displayed, You need to draw the Screen Content of the mobile phone according to the table definition. This section provides a simple and slow page speed and should try to reduce the number of tables as much as possible.
2. When using the label, it is best to define the width and length of the image. In this way, the image location is reserved according to the length and width of the image before the entire page is displayed to accelerate the display of other text content.
3. Some mobile phones support CSS
4. Some mobile phones support page background music
5. Some mobile phones support Image Upload.
6. When using a table, match the table width on the mobile phone terminal for better display.
1) MIME types supported by Wap browsers
Text/css
Image/gif
Image/jpeg
Audio/midi
Application/vnd.wap.xhtml + xml
Text/html
2) introduce the changes brought about by XHTML:
1. marquee
<Marquee> links, text content, or images </marquee>
Attribute:
Loop = "100"
Direction = "right" or "left"
Behavior = "scroll" or "alternate"
Scrollamount = "10"
Bgcolor = "# aaaaee"
2. text color
<Font color = 'Blue '> text </font>
Css file content:
A: link
{Color: #000000}
3. animation display
Apply to background and foreground images
Body
{
Background-image: url (/Images/bg.gif );
}
Image Size adaptation
The image size on the entire page is less than 30 KB
Recommended 20 k
4. Form
Input box
<Input type = "text" width = "120" value = "hello">
Single region
<Input type = "radio" value = "1"> Beijing
Multiple selection box
<Input type = "checkbox" value = "1"> Beijing
Drop-down list
<Form> <select id = "province"> <option value = "0"> Beijing </option> <option value = "1">
Sea </option> </select>
</Form>
5. Table-supported tables
Supports table, tr, and td
6. Background Color and background image
Background Color
<Body bgcolor = "# e0e0e0">
CSS:
Body {background: red}
Background Image
<Table background = "Images/bg.gif">
CSS:
Body
{Background-image: url (Images/bg.gif );}
7. Background Music
<BGSOUND src = 'midi/hy. mid 'loop ='-1'>