Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day

(singke) #1
ptg16476052

Summary 599

21


Another nice touch is to link a Mailto URL to the text containing the email address of the
site owner, as in the following:



Laura Lemay [email protected]

This way, the visitors can simply select the link and send mail to the person responsible
for the page without having to retype the address into their mail programs.


One downside of putting your email address on your web page is
that there are programs that search websites for email addresses
and add them to lists that are sold to spammers. You’ll want to
consider that risk before posting your email address on a public
web page.

CAUTION

Finally, if you don’t want to clutter each page with a lot of personal contact information
or boilerplate copyright info, a simple solution is to create a separate page for the extra
information and then link the signature to that page. Here’s an example:



Copyright and
contact information is available.

One Final Secret to Mobile Web Design


For the end of this lesson I will let you in on a little secret about mobile web design: It is
not all that different from nonmobile web design. You can apply all of these techniques to
your web pages even if you never have a mobile customer. Your desktop customers will
also benefit. The great thing about focusing on mobile web design is that you are making
your pages easier for everyone to use, not just mobile customers. And that is a good thing
for everyone.


Summary


The main Do’s and Don’ts for mobile web page design are as follows:


n Do use HTML standards like HTML5 and CSS3 when designing for the mobile
Web.
n Do provide fallback options for any feature that might not be supported.
Free download pdf