Basics of Web Design: HTML5 & CSS3 (3rd Edition)
Basics of Web Design: HTML5 & CSS3 (3rd Edition)
3rd Edition
ISBN: 9780133970746
Author: Terry Felke-Morris, Terry Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 7, Problem 1RQ
Program Description Answer

“display: inline” is used to display an element as a block of content inline without providing an empty space above and below it.

Hence, the correct answer is option “D”.

Expert Solution & Answer
Check Mark

Explanation of Solution

Configure display:

  • The “display” property is used to specify a display behavior of an element. The default value is taken from the HTML provisions.
  • “none” keyword will make an element to not to display.
  • The “inline” property value is used to display an element to be an inline element that is present in the same line as that of the surrounding text or elements.
  • “block” is a CSS property value for display element. This value is used to display an element as a block element like paragraph tag “<p>”. Also the block is covered with an empty space above and below.

Explanation for incorrect options:

display: block;

The “block” property value is used to display an element as block content by providing space above and below it.

Hence, the option “A” is wrong.

Display:static;

The given format is incorrect. The “position:static” is used to display an element according to the flow of page.

Hence, the option “B” is wrong.

display: none;

The “none” property value is used to remove the element from the view point.

Hence, the option “C” 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
flex container is created with six elements labeled A through F as shown. A F D E C B         Which declaration produce the presentation of the elements shown in the image? Flex-direction: row; justify-content: space -between Flex-direction: row- reverse; justify-content: center Flex-direction: row- reverse; justify-content: space – around Flex-direction: row-reverse; justify – content:space-between
Which of the following declares a two-dimensional array that contains four rows and two columns?a. Dim strLetters(3, 1) As Stringb. Private strLetters(3, 1) As Stringc. Dim strLetters(,) ={{"A", "B"}, {"C", "D"},{"E", "F"}, {"G", "H"}}d. all of the above
HTML/JAVASCRIPT Take the attached application and modify the second function so that if the user enters ANY name , for example Lawrence Michael Wolk into the input box next to the second function, the span output will be L.Michael.W. So if the name were instead Michael William Jackson, the output will be M.Wiiliam.J. (See output png attachments) CISC_2350_CH_8_pp300_converter_asplithw.html <html> <head> <script src="split.js" defer></script> </head> <body> <h1>Name Converter</h1> <p>Type your name:</p> <div> <input id="name" type="text" size="24" /> </br> <span id ="span1">second output goes here</span></br> <button id="but0">Convert to last, First</button> </br></br> <button id="buta"> Convert From Name MI. Lname to FI.MI.LI.</button></br> <input id ="name1" type ="text" size ="24"/> <span id= "span2">Third output goes here</span>…
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
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT