Comments in HTML are not displayed in the _____.

  • Database 
  • JavaScript Console 
  • Rendered Page 
  • Stylesheet 
When comments are used in HTML, the content between the comment tags () is not displayed on the rendered page in the browser. However, as mentioned previously, they can still be viewed using the browser's view source feature. 

To make image maps accessible, the ______ attribute should be used within the tag.

  • alt 
  • href 
  • rel 
  • src 
The alt attribute within the

tag provides alternative text for areas of an image map, making the content accessible for users who rely on screen readers or when the image cannot be displayed. It's essential for making web content more inclusive for all users. 

The ______ element should be used to group the footer content in a table.

  •  
  •  
  •  
  •  
The

element is specifically designed for grouping footer content in a table. It can contain multiple rows for the footer and is always displayed before the

section when scrolling in browsers that support its display features. It helps in summarizing and categorizing table data. 

Using the ______ element, you can group related buttons together, providing a semantic and structural grouping.

  • array 
  • fieldset 
  • group 
  • section 
The fieldset element is used to group related elements in a form. By using it alongside the legend element, web developers can provide a caption, enhancing the semantic meaning and accessibility of the grouped content. Grouping related form controls makes forms more understandable and accessible to users. 

How do you create a nested list?

  • By adding the nested attribute to the
      or

        tag. 
      1. By placing a
          or

            inside an

          1. element. 
          2. By placing an
          3. element inside another
          4. element. 
          5. By using the tag. 
        To create a nested list in HTML, you can place a complete list (

          or

            ) inside a list item (

          1. ) of another list. This allows you to have sub-lists or multi-level lists on your webpage. The browser will typically indent the nested list to indicate the hierarchy. 

In what way can a navigational list be made accessible for screen reader users?

  • Embed audio descriptions for each item. 
  • Make all items flash on focus. 
  • Use ARIA roles and proper semantic tags. 
  • Use larger font sizes for the list items. 
ARIA (Accessible Rich Internet Applications) roles and attributes provide additional information about how elements behave or are related, enhancing the experience for users of assistive technologies. For navigation lists, using semantic HTML tags like

Imagine you are developing a website that needs to be optimized for search engines. How would you utilize the head section, especially the meta tags, to enhance SEO?

  • Adding a