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 5, Problem 1RQ
Program Description Answer

The “list-style-type: square” is used to configure an unordered list element with a square list marker.

Hence, the correct answer is option “B”.

Expert Solution & Answer
Check Mark

Explanation of Solution

Unordered list:

The HTML tag <ul> defines an unordered list. The <li> tag is used to create unordered lists within the <ul> tag.

Unordered list markers using CSS:

The default display for an unordered list is “bullet” and it will display in front of each list item; but using CSS, the markers of an unordered list can be configured using “list-style-type” property.

  • One of the properties of CSS list marker is “list-style-type: square”. It is used to configure an unordered list element with a square list marker.

Consider the following example CSS code for making square list marker as follows:

ul { list-style-type: square; }/*making unordered square list marker*/

Explanation for incorrect options:

a)

list-bullet: none;

The “list-bullet: none;” is not a property for CSS unordered list marker, used to configure a square list marker.

Hence, the option “A” is wrong.

b)

list-style-image: square;

The “list-style-image: square;” property is used to configure an image in front of each list item and it required image url using url keyword.

Hence, the option “C” is wrong.

c)

list-marker: square;

The “list-marker: square;” is not a property for CSS unordered list marker to configure a square list marker.

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
Which statement from below is correct to initialize a List to include  5 subject names of a week using C#?   A.List<string> subjects = new List<string>() B.List<double> subjects=new List<double> C.string subjects = new double[7] D.int[] subjects = new string[8]
create an unordered list that contains grocery items and the style should be "disk"
Which element is stored at index 1 after the following sequence?   ArrayList<String>groceryList;groceryList=newArrayList<String>();groceryList.add("Bread");groceryList.add("Apples");groceryList.add("Grape Jelly");groceryList.add(1,"Peanut Butter");groceryList.set(1,"Frozen Pizza");groceryList.remove(1);   Bread   Peanut Butter   Apples   Frozen Pizza For the given code, when is numType.setText() called?   publicclassOddEvenextendsJFrameimplementsChangeListener{privateJSpinnernumSpinner;privateJTextFieldnumType;...numSpinner.addChangeListener(this);...@OverridepublicvoidstateChanged(ChangeEventevent){IntegernumValue;numValue=(Integer)numSpinner.getValue();if(numValue%2==0){numType.setText("Even");}else{numType.setText("Odd");}}...}   Every time numSpinner's value changes   Only the first time numSpinner's value changes   Every time numSpinner's…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning