Web Development and Design Foundations with HTML5 (8th Edition)
Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 7, Problem 1MC
Program Description Answer

Tag to configure display for mobile devices:

Viewport is the visible area of a webpage for a user. The Meta tag used to configure display for mobile devices is “Viewport”.

Hence, the correct answer is option “A”.

Expert Solution & Answer
Check Mark

Explanation of Solution

Tag used to configure mobile devices:

  • The webpages designed for computer resolution cannot be viewed the same way on a mobile device.
  • Once the viewport tag is configured, the page can be zoomed and scaled to a width that is easy for a user to read.
  • The <meta> tag is used to let web designers take control over the viewport.

In HTML 5, it can be used as:

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Here,

  • The <meta> gives instructions to the browser to control the page dimension and scaling.
  • “width=device-width” is used to set the width of the page similar to the screen width of the mobile device.
  • The initial-scale=1.0 sets the zoom level when the browser loads the page.

Explanation for incorrect options:

Handheld:

Handheld tells server that the user has optimized his or her page is optimized to be viewed on a mobile device. It is not used to configure display for mobile devices.

Hence, option “B” is wrong.

Mobile:

There is no mobile tag present in HTML to configure display for mobile devices.

Hence, option “C” is wrong.

Screen:

There is no screen tag present in HTML to configure display for mobile devices.

Hence, option “D” is wrong.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Of the five primary components of an information system (hardware, software, data, people, process), which do you think is the most important to the success of a business organization? Part A - Define each primary component of the information system. Part B - Include your perspective on why your selection is most important. Part C - Provide an example from your personal experience to support your answer.
Management Information Systems
Q2/find the transfer function C/R for the system shown in the figure Re ད
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Microsoft Windows 10 Comprehensive 2019
Computer Science
ISBN:9780357392607
Author:FREUND
Publisher:Cengage