MICROPROCESSOR AND MICROCONTROLLER

ICT

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which attribute of the tag is used to provide an image file name?
A
src
B
href
C
Sensors
D
None of the above
Explanation: 

Detailed explanation-1: -Answer. the src attribute of img tag lets you specify the name of the image file to be displayed on a webpage.

Detailed explanation-2: -Definition and Usage The <img> tag has two required attributes: src-Specifies the path to the image. alt-Specifies an alternate text for the image, if the image for some reason cannot be displayed.

Detailed explanation-3: -The only attribute you need to get an image to display on a web page is the src attribute. This attribute identifies the name and location of the image file to be displayed.

Detailed explanation-4: -The src attribute specifies the URL of the media file to play. This attribute is required when <source> is used in <audio> and <video> .

Detailed explanation-5: -The <img> src attribute specifies the source if an image file. An image can be included in an HTML page using the <img> tag.

There is 1 question to complete.