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
Suppose there is a text box on your browser window called FirstName. When you scroll up or down, the text box does not move at all while other elements on the page do move. What value for the position property would FirstName have? A) absolute B) relative C) fixed D) static
Kotlin: Which subdirectory contains icons and images? res/images java/icons res/drawable controller
Design and implement a calculator using HTML, CSS (with Bootstrap) and JavaScript. The calculator will only run in the browser, and must not depend on any server side scripting (C#). Functional requirements: -A display that shows entry and results -Number buttons on the calculator -Supports resetting the calculator (C function) -Supports clearing the current entry (CE function) -Handles user errors (e.g. pressing "5++5" leads to "5+5", pressing "5+-5 leads to "5-5") -Supports using the result in the next calculation Each element of the calculator needs to be labeled with the following HTML id attribute: Display: display Each number button must have the following IDs: 'zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine' + button: 'plus' - button: 'minus' * button: 'multiply' / button: 'divide' = button: 'equals' C button: 'reset' CE button: 'clear' IDs are used to find buttons on the page, correctly labeling HTML elements with IDs is important for the tests to…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning