Part II

Creating a Mobile Site

9781118026229-pp0201.eps

In this part . . .

This part covers the basics of starting a mobile website. You start by identifying and classifying the devices for which you'll be designing web content — how to create your class, or profile, how to create definitions and how to determine which devices get relegated to what classes.

After you have your mobile class society set up, you'll need a “detect and adapt” system that determines which device your visitors are using and then sends them to the appropriate version of the site for that device. Once that's done, you can start designing your web pages.

The method I prefer is to design the first, or home, page first, so we'll go with that. This allows you to iron out the site's basic look and feel — the overall “design.” Once you have that, then you can start creating the various template pages for the site.

Get HTML, CSS, and JavaScript® Mobile Development For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.