Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
9th Edition
ISBN: 9780134801148
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
Give steps to add new virtual device in android studio. Add screenshot.
In which touch event interface does the state of the user's point(s) of contact with the touchscreen surface change? TouchList TouchEvent Touchpoint Touch
In Ms-PowerPoint, the presentation slide themes can be selected using Select one: a. Home b. Format c. Animation d. Design
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