Web Development and Design Foundations with HTML5 (8th Edition)
Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134323534
Author: FELKE-MORRIS
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 4, Problem 3MC

22759-4-3RQ                                                                                   AID: 1825 | 25/05/2018

Program Description Answer

The anchor tag “<a>” is used to create a web link to another page. The user can make an image link using “<img>” tag in addition with this anchor tag.

  • Creating image tag “<img>” inside the anchor “<a>” makes a link with an image to their reference “index.html”.

For example:

<a href = “home.html”> <img src= “home.gif”> </a>

The above example shows the “home.gif” image on web browser and the browser loads “home.html” when the user clicks on the image.

Hence, the correct answer is option “B”.

Blurred answer
Students have asked these similar questions
Create a styles.css page and add the following styles? H1 Background color: #f03Border on the bottom with the following rules Width: thin Style: solid Color: #003 Centered textMargin on all sides: 35 pixels H2 Text color: #333, bold p Font: GeorgiaText color: #030Padding of 15 pixels on all sides li Font family: ArialBackground color: grayText color: black, boldText size: 18 points a Color for all hyperlinks: Dark red: #CC0000 Rollover color for all hyperlinks: Dark green: #060   One additional style of your choice
Please fix and improve my HTML and CSS code: First picture is my WRONG output. Second picture is the EXPECTED output. Just use random pictures for photo1. photo2, photo3, photo4, photo1thumb, photo2thumb, photo3thumb, photo4thumb for testing.   index.html <!DOCTYPE html><html lang="en"><head><title>Image Gallery</title><meta charset="utf-8"><style> #gallery     {     position: relative; }#gallery ul     {     width: 250px; list-style-type: none; }#gallery li     {     display: inline; float: left; padding: 10px#gallery img     {     border-style: none; }#gallery a     {     text-decoration: none; color: #333;                font-style: italic; }#gallery span     {     display: none; }#gallery a:hover span {                     display: block;                     position: absolute;                    top: 10px; left: 300px;                     text-align: center; } </style></head><body><h1>Image Gallery</h1><div…
this  html page  <!DOCTYPE html> <html lang="en"> <head> <style>*{    background-color: gray;}a{    text-decoration: none;    color: yellow;    font-size: 20px;}a:hover{    transition: 1.1px;}input{    background-color: #fff;} .div1 { border:2pxoutsetred; background-color:lightblue; text-align:center; }.boxes{    float: left;    width: 49%;    border: 2px solid black;    background-color: gray;    color: #fff;} </style> <script> function maxLengthCheck(object) { if (object.value.length > object.maxLength) object.value = object.value.slice(0, object.maxLength) } function isNumeric (evt) { var theEvent = evt || window.event; var key = theEvent.keyCode || theEvent.which; key = String.fromCharCode (key); var regex = /[0-9]|\./; if ( !regex.test(key) ) { theEvent.returnValue = false; if(theEvent.preventDefault) theEvent.preventDefault(); } } function orderfunction(){ alert("Thank you for ordering from my website!!!"); } function cancelfunction(){…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning