Q:

Can images be inserted in web pages using HTML?

A:

Quick Answer

Images are placed on a Web page using the HTML img tag. Attributes added to the tag specify the location of the image file and describe the image in text.

Continue Reading

Full Answer

The basic img tag contains the src and alt attributes. The src attribute contains the path to the image file, which can be on the same server or a URL that points to a different server. The alt attribute adds a text description of the image that is displayed in case the image cannot be loaded. The alt text is used by screen readers for the visually impaired and is required for accessibility purposes.

Learn more about Internet & Networking

Related Questions

Explore