Home » HTML » Html miscellaneous » Question
  1. For displaying a list horizontally, we can use ______________.
    1. type
    2. <dt>
    3. <dd>
    4. display:inline
    5. None of these
Correct Option: D

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;}. <dd> element is used to contain definition. <dt> tag is a term in description list.



Your comments will be displayed only after manual approval.