Felix K.

asked • 09/20/22

Hi I need help with this

The img elements for the thumbnails in the code that follows are coded within the <a> elements

<main>

    <h1>Image Swap</h1>

    <p>Click on an image to enlarge.</p>

    <ul id="image_list">

        <li><a href="images/pic1.jpg" title="dogs">

            <img src="thumbnails/t1.jpg" alt=""></a></li>

        <li><a href="images/pic2.jpg" title="cats">

            <img src="thumbnails/t2.jpg" alt=""></a></li>

    </ul>

    <h2 id="caption">Animals</h2>

    <p><img id="main_image" src="images/pic1.jpg" alt=""></p>

</main>

A)so the user can swap the main image by pressing Enter when a thumbnail has the focus

B)so the application is easy to use by the motor-impaired

C) all of the others.

D) so the user can access the thumbnail links by pressing the Tab key


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.