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”.
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?
Chapter 5 Solutions
Basics of Web Design: HTML5 & CSS3 (3rd Edition)
- To add a new element to a list we use which Python command? A. list1.addLast(5) B. list1.append(5) C. list1.add(5) D. list1.addEnd(5)arrow_forwardWhich of the data types below does not allow duplicates? A Set B List C Vector D Stack E LinkedListarrow_forwardThe name of the file, "index.html," stands out for a number of reasons.arrow_forward
- Create a COVID-19 support service application using Python namedCovidSupportSystem that will provide the user with the below options:• Statistics,• Prevention,• Symptoms,• Treatment and Report case 1.1 Under Statistics state how many cases there are in SA, China and USA, then askthe user if they would like to see the cases for a different country, if yes, askthem to pick a number between 0 and 9, then pull a country from a list to show 1.2 Under Prevention place general COVID19 prevention information 1.3 Under Symptoms place general COVID19 Symptoms 1.4. Under Treatment place general COVID19 Treatment 1.5. Under Report case ask the user if they have any of the symptoms, if no, thenstate they do not have COVID19, if yes, then ask the user if they have atemperature above 38.5°C, if no, then state they do not have COVID19, ifyes, ask them to choose which country, USA, SA or China, after they havedecided, the number of infection should increase in that country with 1 1.6. The exit option…arrow_forwardConsider the following linked list of the form. This list already exists, so you do not need to write the code to create the list below: struct nodeType { int infoData; nodeType * next; }; nodeType *first; … and containing the values (see image) : Write a code segment that prints all the current values in the linked list.arrow_forwardfast please in pyth coding 1. Initialize a tuple named x with the following values: 1 2 3 2.Initialize a list named x with the following values: 1 2 3 3.Initialize a set named x with the following values: 1 2 3 4.Initialize a dictionary named x with the following key/value pairs: a,1 b,2 c,3arrow_forward
- Which XXX would replace the missing statements in the following code to prepend a node in a doubly-linked list? ListPrepend(students, newNode) {if (list⇢head == null) {list⇢head = newNodelist⇢tail = newNode}else {XXXlist⇢head = newNode}} Group of answer choices newNode⇢head = list⇢nextlist⇢head⇢prev = newNode newNode⇢next = list⇢headlist⇢head⇢next = newNode newNode⇢next = list⇢taillist⇢head⇢next = newNode newNode⇢next = list⇢headlist⇢head⇢prev = newNodearrow_forwardWhich of the following are correct declarations of the 1integer list?arrow_forwardCreate a COVID-19 support service application using Python namedCovidSupportSystem that will provide the user with the below options:• Statistics,• Prevention,• Symptoms,• Treatment and Report case 1.1 Under Statistics state how many cases there are in South Africa, China and USA, then askthe user if they would like to see the cases for a different country, if yes, askthem to pick a number between 0 and 9, then pull a country from a list to showarrow_forward
- get_avg_ratings() takes a 2-D list similar to ratings_db as the parameter and returns a dictionary, where each {key: value} of this dictionary is {a valid movie id: the average rating this movie received by the reviewers}. I will refer to this dictionary as ratings.>>> ratings = get_avg_ratings(ratings_db)>>>> display_dict(ratings)1: 3.922: 3.433: 3.264: 2.365: 3.076: 3.957: 3.198: 2.889: 3.1210: 3.511: 3.6712: 2.4213: 3.1214: 3.83 15: 3.016: 3.9317: 3.7818: 3.719: 2.7320: 2.5 userId,movieId,rating,timestamp1,1,4,9649827035,1,4,8474349627,1,4.5,110663594615,1,2.5,151057797017,1,4.5,130569648318,1,3.5,145520981619,1,4,96570563721,1,3.5,140761887827,1,3,96268526231,1,5,85046661632,1,3,85673611933,1,3,93964744440,1,5,83205895943,1,5,84899398344,1,3,86925186045,1,4,95117018246,1,5,83478790650,1,3,151423811654,1,3,83024733057,1,5,965796031arrow_forwardWhich of the following code elements is often removed at the end of a line? Why it is removed?arrow_forwardModify the menu to use an unordered list for Sandwiches and Burritos, and nested unordered lists for the list items under Sandwiches and Burritos. Use a paragraph element to enclose the text "Menu:" before the list. This is what I put but getting an error. <p>Menu:</p><ul> <li>Sandwiches</li> <ul> <li>Ham</li> <li>Grilled Cheese</li><ul> <li>Burritos</li> <ul> <li>Bean</li> <li>Carne asada</li> </ul></ul>arrow_forward
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning