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
- Transcribed Image Text Assignment: - How to identify the object using ID? Use Salesforce developer console and run a demo of code that you writing in the solution. Also attach the output in of your dev org. Run in the anonymous windowarrow_forwardJack wants to create a website that loads differently on different browsers as well as different versions of each browser. Which of the following would be the best practice? A) Use Conditional Comments B) Use Stylesheet for detecting and loading different CSS files C) Use Javascript to detect and load a different CSS file D) It is not possible to detect a browser and/or its versionarrow_forwardWhere is the correct place to insert a JavaScript? * The <head> section Both the <head> section and the <body> section are correct The <body> sectionarrow_forward
- Find errors in the following statement, and explain how to correct them -i. Button = Jbutton(“Done”);ii) Jalbel 1b, Jbutton;iii) txtFied = new JtextField(20, “Text”);iv. Jpanel panel = new jPanel();arrow_forwardHey im stuck on my assignment. It is supposed to be in javascript code and i forgot to specify that. Please Help!!! window.addEventListener("DOMContentLoaded", domLoaded); function domLoaded() { // TODO: Complete the function } function convertCtoF(degreesCelsius) { // TODO: Complete the function } function convertFtoC(degreesFahrenheit) { // TODO: Complete the function } HTML code <!DOCTYPE html> <html lang="en"> <title>Temperature Converter</title> <scriptsrc="convert.js"></script> <style> body { font-family:Arial, Helvetica, sans-serif; } label { display:block; } #errorMessage { color:red; } </style> <body> <h1>Temperature Converter</h1> <p> <labelfor="cInput">Celsius:</label> <inputid="cInput"type="text"> </p> <p> <labelfor="fInput">Fahrenheit:</label> <inputid="fInput"type="text"> </p>…arrow_forwardThis is based on Microsoft Word. Answer the following questions. 1. Word Art is most effective when it is used too much? True or False? 2. It is effective to use ClipArt repeatedly? True or False? 3. Which of the following is best to add when typing a poem? A. ClipArt B. Shapes C. SmartArt D. WordArt 4. Which object will you use to insert text onto an image or graphic element? A. ClipArt B. Symbol c. Text Box d. Text Wrappingarrow_forward
- Which of the following CSS properties could an object use to override alignment from its parent? A) align-content B) align-self C) justify-content D) text-alignarrow_forwardWhich of the following is the most recently user interface? Select one: a.GUI b.Character-based interface c.Touch-screen interface d.Voice assist tools Which of the following statements are true ? I. Shortest remaining time first scheduling may cause starvationII. Preemptive scheduling may cause starvationIII. Round robin is better than FCFS in terms of response time Select one: a.I, II and Ill b.I only c.II and III only d.I and III onlyarrow_forwardWhich element causes browsers to automatically add a line break after the element is rendered? a. Inputb. Citec. Divd. Areaarrow_forward
- this is my code, but after automatically check it, it shows smt went wrong(image one) image two is the spec for nextTweet and below is my code, since it's the system automatically check the code, I dont really have a textcases. plz debug it and fix it. show the screenshot of the code when u finish. thanks Below is my whole code for TweetBot import java.util.*;import java.io.*; public class TweetBot { private List<String> tweets; private int index; public TweetBot(List<String> tweets){ if(tweets.size() < 1){ throw new IllegalArgumentException("need contain at least one tweet!"); } this.tweets = new ArrayList<>(tweets); } public int numTweets(){ return tweets.size(); } public void addTweet(String tweet) { tweets.add(tweet); if (tweets.size() == 1) { // if the tweet was the first one added, set the index to 0 index = tweets.size() - 1; } } public…arrow_forwardWhich of the following is not a style to display an element as a flexbox? display: -chrome-flex; display: -webkit-flex; display: -webkit-box display: -ms-flexbox;arrow_forwardBy using the program below: Kindly use CSS, Set the text color for the page to "red", and the text color for <h1> to "blue". <!DOCTYPE html> <html> <head> <style> </style> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph.</p> <p>This is another paragraph.</p> </body> </html>arrow_forward
- EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT