HTML and CSS Reference
In-Depth Information
noticeable in the preview from messing up the blog's front page. his can hap-
pen, for example, when a link at the end of a post is missing the closing anchor
tag ( </a> ). When reproduced on the front page, the link may extend into the
title of the post below it in the listing.
not teSting in DiFFerent BroWSerS
Browsers are getting better all the time and are converging on HTML5 as a
common standard. But many of the HTML5 speciications for browser behav-
ior are recommendations, not requirements. Also, a wider variety of browsers
are in use, across more device types and operating systems, than ever before.
Furthermore, browsers are getting bigger and incorporating more features. As
a consequence of all this complexity, there are bugs and edge conditions where
browser behavior is not well deined. herefore, there is no way to ensure that
your web pages will perform lawlessly without testing them in all the major
browsers.
It is human nature to become attached to your favorite tools. When other
people encounter problems with your website, it's tempting to blame their
poor choice of browser. Avoid falling into this unproductive attitude by mak-
ing it a point to use diferent browsers as you work on your website. Testing in
Internet Explorer, Firefox, Chrome, Safari, and Opera covers about 98 per-
cent of all browser use, according to data collected on Wikipedia. (Search for
“browser share” to ind the latest statistics.) Unfortunately, that also means
testing on older versions of Internet Explorer. Currently, Internet Explorer,
version 6, running on Windows XP, NT, 2000, and earlier versions of Micro-
sot's operating systems, still accounts for a ith of all browser usage! his is in
spite of the fact that this browser is ten years old and is widely derided for its
security issues and lack of support for modern web standards. It is a persistent
fact that many people are forced to work with the tools they are given, not the
ones they would prefer. Major web service companies such as Google do not
provide support for IE6 users of their advanced applications. Whether you
choose to support IE6, or any particular browser, is up to you and your regard
for your target audience.
Social media provides a solution to the dilemma of too many browsers.
You can join a web authors' or developers' community and ask your friends
to check out your work in the environments you don't have access to. Make a
formal checklist that includes browser name, version, operating system, and
device type. If you are doing web work for a client, you will impress that client
by presenting the checklist before putting changes into production.
 
 
Search WWH ::




Custom Search