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”.
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?
Chapter 5 Solutions
Basics of Web Design: Html5 & Css3
- Pankaj bhaiarrow_forwardA Panel is used to: a.group or store GUI components b.add style to a form c.create a border around components d.display textarrow_forwardDesign 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…arrow_forward
- 1arrow_forward"ll zain IQ 3G نقطة واحدة The area of the interface window that defines where the image will appear is referred to as the rectangle * .portion Screen Coordinate System Translation Viewing O Window World O View Port نقطة واحدة The process of extracting a portion of a picture from within or outside of a defined region is referred to as Translation O Clipping Scaling O Reflectionarrow_forwardin javascript Create a function that will load a new image from the website https://cataas.com/cat every 10 seconds, and will stop this interval when the SPACEBAR is pressed.arrow_forward
- Please answer the question attached below.arrow_forward82. Write a GUI-based program that analyzes a word. The user will type the word in a text field. Provide buttons for the following: O One button, when clicked, displays the length of the word. O Another button, when clicked, displays the number of vowels in the word. O Another button, when clicked, displays the number of uppercase letters in the word. Use FXML for the GUI and to set up event handling; include a Model. Be sure that the initial state of the View matches the initial state of the Model.arrow_forwardJavaFXarrow_forward
- Create a gui based vision system using python and QT (load your report and code)arrow_forwardHello, I need help with the following: 1 – AssignmentYou will create an application to display an image. In this case, you will just be displaying an ASCII artimage.GUI – The interface will have two buttons: Open Image, and Close Image. You can guess what these do.You will also need a multi-line textbox (textarea) to display the image. You will need to change the fontfor the textarea to be Courier New, or another monospace font. This will allow each character tooccupy the same amount of space and create an “image”.The program – When clicking the Open button, your program should read an ASCII image from a file intoa 2 dimensional array. Then your program should display the image in the textarea. When clicking theClose button, your program should clear the textarea.The program must store the characters of the image in an array. One character for each array element.You can use 2 dimensional arrays. The goal of the program is not to just read the file and display it to thescreen line by…arrow_forwardUsing java swing framework your interface, provide a label and 4 buttons. Initially, your label will display number 0. Use one button to change the display value in increment of 1, and another button to change the display value in decrement of 1. Add two buttons to increase and decrease the font size of the label.arrow_forward
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageEBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning