What considerations should be made for access key assignments to avoid conflicts and ensure usability?

  • Assign keys based on their visual position on the page. 
  • Assign keys randomly. 
  • Ensure they don't conflict with browser and OS shortcuts. 
  • Use the first letter of the element's name. 
Access keys can enhance usability by providing keyboard shortcuts to important web page elements. However, it's critical to ensure that these shortcuts don't conflict with default browser or operating system shortcuts, which can confuse users or render the shortcuts unusable. Also, considering international users who might have different keyboard layouts is important. 

Which tag is used to embed images in an HTML document?

  •  
  •  
  •  
  •  
The tag is used in HTML to embed images. It's an empty (or self-closing) tag, meaning it doesn't have a closing tag. You'll often use attributes like src (to specify the image source) and alt (to provide alternative text) with it. Other options like , , and are not standard HTML tags for displaying images. 

The ______ CSS property is utilized to control the visibility of an element in the HTML body.

  • background-visibility 
  • display 
  • opacity 
  • visibility 
The visibility CSS property can either hide an element (hidden) or show it (visible). Unlike the display property, which removes the space taken by the element, the visibility property retains the space even if the element is hidden. opacity, on the other hand, can make an element semi-transparent or fully transparent, but it doesn't hide the element in terms of interactivity. 

The _____ attribute is used to define a keyboard shortcut to activate or bring focus to an element.

  • accesskey 
  • alt 
  • href 
  • src 
The accesskey attribute specifies a shortcut key to activate/focus an element. It's beneficial for user accessibility, as users can navigate a webpage using the keyboard. However, care should be taken that the assigned access keys do not conflict with existing browser or system shortcuts. 

How is a hyperlink inserted within the body section of an HTML document?

____ is a vector image format suitable for scalable graphics in web design.

  • BMP 
  • JPEG 
  • PNG 
  • SVG 
SVG, or Scalable Vector Graphics, is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation. SVG images and their behaviors are defined in XML text files, which means they can be searched, indexed, scripted, and compressed. As a result, SVG is perfect for web graphics that need to be scalable at different sizes. 

How can you create a mailto: link that includes multiple recipients?

  • Add multiple mailto: prefixes. 
  • Use the & character between email addresses. 
  • Use the , character between email addresses. 
  • Use the ; character between email addresses. 
The mailto: scheme allows you to create hyperlinks that will open the user's email software ready to send a new email. To include multiple recipients, separate the email addresses with a comma ,. For example: Email Us. 

How can you group related options in a dropdown list?

  • Using the tag. 
  • Enclosing them in tags. 
  • Using the tag. 
  • Grouping them under a
    tag. 
The element is utilized within a