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 4, Problem 4MC

22759-4-4RQ                                                                                   AID: 1825 | 26/03/2018

Program Description Answer

Purpose of “height” and “width” attributes in “<img>” tag:

The purpose of “height” and “width” attributes in “<img>” tag is to allow the browser for appropriate space for an image. If the attributes are given in the tag then the space for the image is reserved when the browser is loaded.

For example:

The following code set the image with height and width. The browser set the size of the image when the page is loaded. The height of the image is “30” pixels and the width of the image is “15” pixels.

<img src= “flower.gif” height= “30” width= “15”>

Hence, the correct answer is option “B”.

Blurred answer
Students have asked these similar questions
Which of the following statements is correct? It is not possible to display multiple layers (data) on a map if each layer has a unique coordinate system. It is perfectly acceptable for GIS software to use data with various coordinate systems when displaying multiple layers (data) on a map with each layer having a different coordinate system. You can display multiple layers (data) on a map, each with a distinct coordinate system, but your layers may not align appropriately. None of the preceding
An Internet service provider(ISP) offers free customized websites for their customers. Customization includes; “background-color” of webpages(you can choose just one color), “font-size” that will be applied to all webpages (size that could be chosen is from 10 to 16), “font” that will be applied to all webpages (limited to “Calibri(Body)”, “Arial” and “Times New Roman”) and Contact Information that will be displayed at the bottom of every webpage and is formed from: “E-mail address” and “Telephone number” Keeping in mind that there exists a unique customer number assigned to each customer and kept in a session variable named “cid” ($_SESSION[‘cid’]) during the login process; Assuming that you have a database named “quizdb” with a database user  named “quizusr” and password “pwd”; Create the database table named “pages” using the information specified above(i - iv). Fill in the following table for each field that you created.   Field Name Type Length/Values Index…
The parameter has to be adjusted. The size of the image cannot be supported. A minimum of 40 pixels and a maximum of 2600 pixels must be used for each picture dimension.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education