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 6, Problem 1MC
Program Description Answer

The components of the box model from outermost to innermost are margin, border, padding and content.

Hence, the correct option is “A”.

Expert Solution & Answer
Check Mark

Explanation of Solution

Explanation:

Box model:

Each HTML elements is considered as “boxes”. In Cascading Style Sheet, the word box model is used while discussing about design and layout.

It is basically a box, which wraps every element in a document; the components of the box model from outermost to innermost are:

  • Margin
  • Border
  • Padding
  • Content

Margin:

Margin is one of the components of box model. It defines an empty space between an element and any adjacent elements.

It is always transparent; hence the page background color or parent element shows in this area.

Border:

The border is an area between the content and the margin areas. The value of the default border is “0” that does not displayed on the page.

  • Using “border property”, user can configure an element’s border.

Content:

It is an area, contains a combination of both text and HTML elements such as headings, images, list and so on.

It does not contain any other components like margin, border and padding.

Padding:

The padding is an area between the content and the border areas. The default value of padding is “0”.

Using “padding property”, user can configure an element’s padding.

Explanation for incorrect options:

b)

The given listed components are from innermost to outermost of the box model.

Hence, the option “B” is wrong.

c)

The given listed components are not from the outermost to innermost of the box model. The correct components are margin, border, padding and content.

Hence, the option “C” is wrong.

d)

The given listed components are not from the outermost to innermost of the box model. The correct components are margin, border, padding and content.

Hence, the 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
Your completed assignment should contain all of the following: ■ Your color scheme's name should be set as the table's header. It should have one or more font styles applied to it to differentiate it from other text in the table. ▪ You should list each color name, with each cell having its color set as its background color. ■ Include cells that give each color's hex value. ■ Include cells that give each color's rgb value. ▪ Include cells that give each color's hsl value. ▪ Your HTML table should be logically and properly constructed.
Q6/ You have a power point presentation with name of "Petroleum Engineering" consists of 8 slides, do the following: a. Insert a new slide between the second and the third slide. b. Open this power point presentation then save it under a new name of "Chemical Engineering" on the same location. c. Delete the fourth slide. d. Move the third slide to a new location between the seventh slide and the eighth slide.
Please answer: 2,3,4,5,6,7,8,10
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L