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)


When using the padding property; are you allowed to use negative values?


Which property is used to change the left margin of an element?


How do you display a border like this:
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixel?


How do you make the text bold?


Which property is used to change the font of an element?