g. no h2 before h1
Uses XHTML code for formatting, aided by CSS
Minimal form elements, especially select boxes
User Input
Avoids free text entry where possible
Default selections/values as much as possible
Default input mode, format, and language for fields
Password field as input type="text", not input type="password", unless high
security is needed
Objects, Security, Caching, Etc.
No scripting without device detection + alternative
No embedded objects without device detection + alternative
Works without cookies
Cache-Control header as per application need
Pass session ID in URL
Not mandatory to log in to see content, unless application requires so
Phone numbers are linked to invoke call
Best Practices should be Upgraded!
When you develop your applications, you may keep the target devices and target
users above the best practice recommendations. Best Practices are opinions and you
will see arguments for and against some of the controversial items. You can come up
with your own rules thumb of and tricks. Start with the items here, try them out on
your projects, and keep evolving them.
??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ???
Developing Standards-Compliant Sites
[ 94 ]
Most Good Styles of Design and Software will
Work on the Mobile Web Too
The mobile web is just another platform of delivering information.
Pages:
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133