CSS Multiple choices

Total available count: 25
Subject - Web Development
Subsubject - CSS

How do you make a list that lists its items with squares?







To create an unordered list with square bullets in HTML as follows:-

Use the <ul> tag to create unordered list in HTML. The unordered list starts with the <ul> tag. The list item starts with the <li> tag and will be marked as disc, square, circle, etc. The default is bullets, which are small black circles.

For creating an unordered list with circle bullets, use CSS property list-style-type. We will be using the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML <ul> tag, with the CSS property list-style-type to add square bullets to an unordered list. 

Just keep in mind, the usage of style attribute overrides any style set globally. It will override any external style sheet or style set in the HTML <style> tag.

To create an unordered list with square bullets in HTML You can implement and run the following code and check −

<!DOCTYPE html>
   <title>SlightBook Unordred List</title>
   <h1>Developed Courses</h1>
   <p>The list of developed Courses :</p>
   <ul style="list-style-type:square">
    <li>Java Script</li>


Next 5 multiple choice(s)


How do you select an element with id "demo"?


How do you select elements with the class name "test"?


How do you select all p elements inside a div element?


How do you, group selectors?


What is the default value of the position property?