Developing a mobile web site could be not a hard task if you know what device you talk with and its screen size and use the best XHTML code it will be very easy to do it, the real problem comes when you want to ensure that its work well across different devices, adaptation sure help in this task but if you follow some check list it will give us best results.
Best Practices in delivering web content to mobile devices. The principal objective is to improve the user experience of the Web when accessed from such devices, there is much computation in the web to provide us with the best practice for creating a good mobile web site, and here is a list for some of them:
- W3C mobile best practices (http://www.w3.org/TR/mobile-bp)
- Luca Passani Global Authoring Practices for the Mobile Web (http://www.passani.it/gap)
- Making Small Devices Look Great (http://dev.opera.com/articles/view/making-small-devices-look-great)
- Best Practices in XHTML Design (http://developer.openwave.com/dvl/support/documentation/guides_and_references/best_practices_in_xhtml_design/index.htm)
- As W3C is the responsible organization to develop common standards for the World Wide Web so we will list some of mobile Web best practices that W3C tell us about.
- Ensure that content provided by accessing a URI yields a thematically coherent experience when accessed from different devices.
- Exploit device capabilities to provide an enhanced user experience.
- Take reasonable steps to work around deficient implementations.
- Carry out testing on actual devices as well as emulators.
- Keep the URIs of site entry points short.
- Provide only minimal navigation at the top of the page.
- Take into account the trade-off between having too many links on a page and asking the user to follow too many links to reach what they are looking for.
- Provide consistent navigation mechanisms.
- Assign access keys to links in navigational menus and frequently accessed functionality.
- Clearly identify the target of each link.
- Note the target file’s format unless you know the device supports it.
- Do not use image maps unless you know the device supports them effectively.
- Do not cause pop-ups or other windows to appear and do not change the current window without informing the user.
- Do not create periodically auto-refreshing pages, unless you have informed the user and provided a means of stopping it.
- Do not use markup to redirect pages automatically. Instead, configure the server to perform redirects by means of HTTP 3xx codes.
- Keep the number of externally linked resources to a minimum.
- Ensure that content is suitable for use in a mobile context.
- Use clear and simple language.
- Limit content to what the user has requested.
- Divide pages into usable but limited size portions.
- Ensure that the overall size of page is appropriate to the memory limitations of the device.
- Limit scrolling to one direction, unless secondary scrolling cannot be avoided.
- Ensure that material that is central to the meaning of the page precedes material that is not.
- Do not use graphics for spacing.
- Do not use images that cannot be rendered by the device. Avoid large or high resolution images except where critical information would otherwise be lost.
- Ensure that information conveyed with color is also available without color.
- Ensure that foreground and background color combinations provide sufficient contrast.
- When using background images make sure that content remains readable on the device.
- Provide a short but descriptive page title.
- Do not use frames.
- Use features of the markup language to indicate logical document structure.
- Do not use tables unless the device is known to support them.
- Do not use nested tables.
- Do not use tables for layout.
- Where possible, use an alternative to tabular presentation.
- Provide a text equivalent for every non-text element.
- Do not rely on embedded objects or script.
- Specify the size of images in markup, if they have an intrinsic size.
- Resize images at the server, if they have an intrinsic size.
- Create documents that validate to published formal grammars.
- Do not use pixel measures and do not use absolute units in markup language attribute values and style sheet property values.
- Use style sheets to control layout and presentation, unless the device is known not to support them.
- Organize documents so that if necessary they may be read without style sheets.
- Keep style sheets small.
- Use terse, efficient markup.
- Send content in a format that is known to be supported by the device.
- Where possible, send content in a preferred format.
- Ensure that content is encoded using a character encoding that is known to be supported by the target device.
- Indicate in the response the character encoding being used.
- Provide informative error messages and a means of navigating away from an error message back to useful information.
- Do not rely on cookies being available.
- Provide caching information in HTTP responses.
- Do not rely on support of font related styling.
- Keep the number of keystrokes to a minimum.
- Avoid free text entry where possible.
- Provide pre-selected default values where possible.
- Specify a default text entry mode, language and/or input format, if the target device is known to support it.
- Create a logical order through links, form controls and objects.
- Label all form controls appropriately and explicitly associate labels with form controls.
- Position labels so they lay out properly in relation to the form controls they refer to.
OneHoster offer many web hosting packages in Egypt and middle east like, cPanel storage hosting packages, cloud hosting, domain registration, dedicated servers solution, Email hosting, WordPress hosting, web hosting upgrades and hosting renewals to suit your requirements to host your website for small and medium sized businesses.
“OneHoster’s Team”