Basics of Web Design: Html5 & Css3
Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 5, Problem 1RQ
Program Description Answer

The “alt” is an attribute which is used to specify the alternative text of the element or image when the browser does not support the graphics.

Hence, the correct answer is option “A”.

Expert Solution & Answer
Check Mark

Explanation of Solution

Explanation:

The “alt” attribute shows the given text in image when the browser not support the graphics. This attribute is mostly used in “<img>” tag.

Example:

<!—Image Tag-->

<img src= “rose.gif” alt= “flower”>

Here, the “<img>” tag shows “rose” image on the browser. If the browser does not support graphics then the alternative information “flower” shown on the image.

Explanation for incorrect options:

b)

“text” attribute:

“text” is not a attribute. Text attributes are available in HTML like text-align, text-decoration, text-indent and much more.

Hence, the option “B” is wrong.

c)

“src” attribute:

“src” is a source attribute which is used to specify the filename of the element.

Hence, the option “C” is wrong.

d)

accessibility”:

Providing access to the web contents present is called the “accessibility”.

Hence, the option “D” is wrong.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Which of the following lines of code would add a circle object to a JavaFX pane?   Question 2 options:   pane.add(circle);   pane.addAll(circle);   pane.getChildren().add(circle);   pane.getElements().add(circle);
x = zeros(uint8(5,5)); for i = 1:5     for j = 1:5         a = 5/i;         x(i,j) = 255/a;     end end Which of the following best describes the black and white image x?    1. The columns of x will get lighter from left to right 2. The rows of x will get lighter from top to bottom 3. The rows of x will get darker from top to bottom 4. The columns of x will get darker from left to right
Which of the following is also an important task of user interface (UI) design?   Question options:   Design of error messages.   Design of debugging messages.   Design of exception handling.   Minimize time and effort spent on UI design.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    EBK JAVA PROGRAMMING
    Computer Science
    ISBN:9781337671385
    Author:FARRELL
    Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT