. Mobile Development › how it works › designing a mobile site 2. Ensure your markup is valid and error free with the W3C XML validator.Validating your code is important for any designs which function in theInternet arena. The validator helps to ensure your code is compatible withweb standards. Among the benefits of validating your code is that your sitewill display correctly across as many platforms as possible, your code will beleaner and therefore use less bandwidth (already limited on mobile phones),and be easier for designers to update when necessary.You can access the W3C validator at http://validator.w3.org/ 3. Avoid frames and tables, and keep your site size down to a mini- mum.In the early days of the web, designers tended to use HTML tables to lay outcontent for a web page, and many websites still do so today. However, differentbrowsers, and even different versions of browsers all support code differently,resulting in websites that only work on certain browsers, or bulky code to copewith each version required.By using cascading style sheets (CSS) for design, you can design a websitethat is likely to be easier to update and leaner to download for mobile sites,especially considering the vastly different screen sizes. 4. Keep URLs short and memorable.Most forms of mobile communication are limited in character size. SMS, forexample, is widely used but only allows 160 characters. Shorter URLs make iteasier for users to find and access your site in the mobile environment. URLshorteners like bit.ly and mzan.si can be used to shorten websites links whenshared but your URL should make it easy to type in the address. 5. Ensure that any images are automatically resized according to the phone model.If images are resized at the server, rather than once they have been downloadedto the phone, data transfer times and rates will be vastly improved. The browsershould therefore be told what sizes the images are. Speak to your developerabout this. 6. Ensure your images are in a compressed format (gif, jpg).There are a number of ways to compress different images. It is most importantthat download times are reduced.
. Mobile Development › how it works › designing a mobile site 2. Ensure your markup is valid and error free with the W3C XML validator.Validating your code is important for any designs which function in theInternet arena. The validator helps to ensure your code is compatible withweb standards. Among the benefits of validating your code is that your sitewill display correctly across as many platforms as possible, your code will beleaner and therefore use less bandwidth (already limited on mobile phones),and be easier for designers to update when necessary.You can access the W3C validator at http://validator.w3.org/ 3. Avoid frames and tables, and keep your site size down to a mini- mum.In the early days of the web, designers tended to use HTML tables to lay outcontent for a web page, and many websites still do so today. However, differentbrowsers, and even different versions of browsers all support code differently,resulting in websites that only work on certain browsers, or bulky code to copewith each version required.By using cascading style sheets (CSS) for design, you can design a websitethat is likely to be easier to update and leaner to download for mobile sites,especially considering the vastly different screen sizes. 4. Keep URLs short and memorable.Most forms of mobile communication are limited in character size. SMS, forexample, is widely used but only allows 160 characters. Shorter URLs make iteasier for users to find and access your site in the mobile environment. URLshorteners like bit.ly and mzan.si can be used to shorten websites links whenshared but your URL should make it easy to type in the address. 5. Ensure that any images are automatically resized according to the phone model.If images are resized at the server, rather than once they have been downloadedto the phone, data transfer times and rates will be vastly improved. The browsershould therefore be told what sizes the images are. Speak to your developerabout this. 6. Ensure your images are in a compressed format (gif, jpg).There are a number of ways to compress different images. It is most importantthat download times are reduced.
การแปล กรุณารอสักครู่..
