What is the primary difference between ordered and unordered lists?

  • Ordered lists are always in alphabetic order. 
  • Ordered lists are numbered, while unordered lists use bullet points. 
  • Ordered lists can only have one level of nesting. 
  • Unordered lists are used for navigation menus. 
The main distinction between an ordered list (

    ) and an unordered list (

      ) is in their presentation. An ordered list uses numbers (or sometimes letters) to indicate the order of the items, which implies a specific sequence. On the other hand, an unordered list uses bullet points, which indicates no particular order among the items. 

The body section should contain content wrapped within ______ tags for semantic and accessible HTML.

  •  
  •  
  •  
  •  
For semantic HTML, the

tag is used to represent a standalone section of content that makes sense on its own, like a chapter, tabbed content box, or a set of tabs. It helps in structuring the content in a way that's more understandable both for browsers and for developers, ensuring better accessibility and clearer site organization. 

Which attribute should be used to associate a label with a form control?

  • associate 
  • for 
  • link 
  • rel 
The for attribute in a

Which tag is used to highlight text in HTML?

  •  
  •  
  •  
  •  
The tag is used in HTML to indicate text that should be highlighted or marked in some way, often to draw attention to a particular part of the content. When rendered, the text within this tag usually appears highlighted in a yellow background, though its appearance can be modified with CSS. 

Suppose you are creating a webpage for a museum, and you have an image of an artwork. How would you utilize the
and
elements to present the image and provide additional information?

  • Only use the
    tag to provide a description, keeping the image separate. 
  • Put the image and description side by side without using any specific tags. 
  • Use the
    tag for the image and the
    tag separately elsewhere on the page. 
  • Wrap the image inside the
    tag and use the
    below the image. 
The

element represents content that is referenced from the main content but that can be moved to another part of the page without affecting the main flow. Inside the

element, the
can be used to provide a caption or a brief explanation about the figure content, in this case, an artwork image. It provides a structured way to associate an image with its description or caption. 

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