HTML List MCQsHTML List MCQs : This section focuses on "Lists" in Html. These Multiple Choice Questions (mcq) should be practiced to improve the Html skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations. Show
1.Which one of the following is a type of lists that HTML supports? A. Ordered lists. View Answer Ans : D Explanation: All the three are types of lists in HTML. 2.By which tag, an unordered list is represented? A. <u> View Answer Ans : C Explanation: <ul> tag is for unordered list. <u> is for underline. 3.By which tag, an ordered list is represented? A. <u> View Answer Ans : D Explanation: <ol> tag is for an ordered list. 4.Below there is a HTML code. A. style="list-style-type:square;" View Answer Ans : A Explanation: In order to determine the type of item marker in an unordered list of HTML, list-style-type is used. 5..Fill in the blanks with a suitable option in order to number items of an ordered list with small roman numbers. A. style= "type:i" View Answer Ans : C Explanation: In the ordered list of HTML, type= "i" is used to number the ordered list with small roman numbers. 6.In order to start a list from 10, what attribute should be added in the opening tag of ordered list? A. begin= "10" View Answer Ans : B Explanation: <ol start=10> will start numbering the items in the list from 10. 7.A HTML code is given below A. <dd>,</dd>,<dt>,</dt> View Answer Ans : B Explanation: This option will give the required output. Here <dt> is the description term and is used to describe the description term.8.In order to get a list without any item marker, which one of the following can be used? A. <ul style= "list-style-type:none;"> View Answer Ans : A Explanation: This option will remove the item marker and will simply display the elements of the list without them. 9.What is the default start of item marker in ordered list? A. 1 View Answer Ans : A Explanation: If the ordered list is written without any attribute, e.g <ol> , the list will start from 1 by default. 10.What is the default item marker in unordered lists of HTML? A. Circle View Answer Ans : C Explanation: By default, the unordered list has disc as its item marker. Also check :
Discussion * You must be logged in to add comment. HTML Unordered Lists
❮ Previous
Next ❯
The HTML <ul> tag defines an unordered (bulleted) list. HTML Ordered Lists
❮ Previous
Next ❯
The HTML <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical. 10 ListsContents
<ol>: The Ordered List elementThe <ol> HTML element represents an ordered list of items — typically rendered as a numbered list.
How to specify the kind of marker to be used in the list in HTML5 ?There are two types of lists in HTML, the first is an ordered list which is created using the <ol></ol> tag, and the second is an unordered list which is created using the <ul></ul> tag. Both of the lists should have a <li></li> tag to represent the data inside them. The ordered list represents the data in a countable form. Here the marker is digits. For example:
The unordered list represents the data in an uncountable form. Here the marker is a disc. For example:
The purpose of this article is to show you how you can change the marker without using CSS. Ordered list markers: There are five types of markers in the ordered list and the markers are specified using the type attribute. Syntax: <ol type="Enter type of list"></ol>Type of list Items: HTML
Example 1: Let’s implement ordered list attributes. HTML
Output: Unordered list markers: There are three types of markers in the unordered list and the markers are specified using the type attribute. Syntax: <ul type="Enter type of list"></ul>Type of list items: HTML
Example 2: Let’s implement unordered list attributes. HTML
Output: Note: Here the triangle type is not supported by the browser that’s why it is showing disc instead of a triangle.
Article Tags :
HTML Web Technologies
HTML-Attributes HTML-Tags Practice Tags :
HTML What is the default style in ordered list?The default list-style-type value for an ordered list is decimal , whereas the default for an unordered list is disc . What is the default unordered list-style type in CSS?The marker is lower-latin (a, b, c, d, e, etc.) The marker is lower-roman (i, ii, iii, iv, v, etc.) The marker is upper-alpha (A, B, C, D, E, etc.) The marker is upper-latin (A, B, C, D, E, etc.) What is the default value for the list-style type attribute?Property Values
|