Home » HTML » Html miscellaneous » Question
  1. Which element is used as a container for a directory of files?
    1. <command>
    2. <content>
    3. <dir>
    4. <font>
    5. None of these
Correct Option: C

<dir> element is used as a container for directory of files or folders, potentially with styles and icons applied by user agent. It is recommended not to use this element you can use <ul> element for lists including lists of files. Size, color or face for the content is defined by <font> element. Those commands that user can invoke are represented by <command>. <content> is an obsolete part of web components and is inside shadow DOM.



Your comments will be displayed only after manual approval.