Q: Which tag is used for List items?
Solution: li is for the list items. The list is indented by default by the browser.
Q: Which element contains definition?
Solution:
Q: Which of the following can’t be the value of list-style-type?
Solution: list-style-property is used for defining the style of list item marker. Its value can be square, circle, disc or none. For setting list item marker to be bullet we use the value disc. It is the default value. For setting list item marker to a circle we used the circle, for setting it to be square we set the value square. If we set the value none, list items will not be marked.
Q: For displaying a list horizontally, we can use ______________
Solution: If we want to display the list horizontally we can use display:inline or float:left. It will create a menu. E.g. ul {list-style-type: none; padding:0; overflow:hidden; } li {float:left} li g{ display: block; color:red; padding: 20px;}.
Q: Which attribute is only used with?
Solution: The number attribute is only used with. The starting number of the first item in an ordered list is specified by this attribute. The default number for starting is ‘1’. The corresponding labels can be non numeric even its value is set to numeric. The “start” and “type” attribute are removed from HTML4.01 but can be still used in HTML5 where as “compact” attribute is not used in HTML5.
Q: Which element is restricted to inline content?
Solution:
Q: Which element was designed for creating multicolumn directory lists?
Solution: For the creation of multicolumn directory lists dir element was designed. For designing a single column menu list menu element was designed. They have the same structure as ul. It is just a different rendering. In practice, it works exactly as a ul list.represents a ordered list where as
is unordered list. List of commands is defined by
Q: The content property does not include __________
Solution: The content property includes Strings, URIs, Normal, None, Image, Counter and many more. When we are using these characters it is essential to encode them as their escaped HEX equivalents. These characters will work i.e. will only be visible in Mozilla/Netscape or in Opera.
Q: Which of the following is not true regarding to counter?
Solution: There are two functions for specifying counters, ‘counter()’ or ‘counter()’. First one has two forms ‘counter(name,style)’ and ‘counter(name)’. The second one also has two forms ‘counter(name,string,style)’ and ‘counter(name,string)’.
Q: Which property specifies the distance between nearest border edges of marker box and prinicipal box?
Solution: We can create markers by setting ‘display’ property. It specifies the distance between nearest border edges of marker box and the principal box associated with it. It can be user specified i.e.or can be chosen by ‘auto’. Length can be negative also. Counter increment increments counter by value 1. list- style specifies it’s three types: 1)life-style-image 2)life-style-position 3)life-style-type. The list-style-image defines an image to be used as list item’s marker. It is stated as life-style-type.
You Have Score    | /10 |