© Risto Viita/Shutterstock
chapter31
Browser Identification
AS THE CAPABILITIES YOU include within a webpage increase, you may want to determine a user’s browser type so that you can process accordingly. For example, you might want to customize the code you are using to integrate video, or you may want to format page content differently for a Web and mobile browser.
Learning Objectives
This chapter examines a few techniques you can use to determine a browser’s capabilities. By the time you finish this chapter, you will understand the following key concepts:
• What “hacks” are, and why Web developers try to avoid them
• How to determine a ...
Get Introduction to Web Development Using HTML 5 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.