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
- 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…arrow_forward1arrow_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_forward
- in 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_forwardPlease 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_forward
- JavaFXarrow_forwardCreate 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_forward
- Using 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_forwardGUI You will find the files needed for Problems 1 and 2 in the Module 8: Graphical User Interfaces course content folder. The EvenOdd and Bagel files will help you with Problem 1. Make the following changes to the Push Counter program: Add 2 each time the button is pressed. Change the title bar from Push Counter to Pushes x Two. Change the button label from Push me! to Add Two. Change the background color. Change the size so the panel is higher than it is wide. Change the label from Pushes: to Total =. 1. 2. 3. 4. 5. 6. 2. Modify the Fahrenheit program so that it displays a button that when pressed causes the conversion calculation to take place. The user will have the option of pressing Enter in the text field or pressing the button. Have the listener that is already defined for the text field also listen for the button push.arrow_forwardneed help creating a GUI Java application using at least 3 GUI objects. Example of 3 objects would be Panes, FlowPane, GridPane, Border Pane, Scenes, Buttons, Circles, Rectangle, Color, Font, Image, ImageView, Label, Text Field, etc....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