How to Display an Image in HTML: The 'img' Tag
The correct answer is C. 'img'.
The 'img' tag is used to display an image in an HTML page. It's a self-closing tag with the 'src' attribute, which specifies the URL or path to the image file. Here's a simple example:
<img src='path/to/your/image.jpg' alt='Description of the image'>
The 'alt' attribute is crucial for accessibility. It provides a text description of the image for screen readers and users who cannot view it.
原文地址: https://www.cveoy.top/t/topic/pk1g 著作权归作者所有。请勿转载和采集!