answersLogoWhite

0

The img tag has two attributes: src and alt. If you leave either one of these attributes out of the code, you will not see the image.

User Avatar

Wiki User

∙ 12y ago
User Avatar

What else can I help you with?

Related Questions

How do you create img tag in HTML and graphics and attributes?

The HTML <img /> tag displays graphics on the page. Here is an example of an img tag: <img src="image.jpg" width="100" height="100" border="0" align="center" alt="My Image"/>.


What is definition of singular tag?

There doesn't seem to be an official definition but a singular tag is a tag that is not used as a pair of tags. XHTML validating examples of singular tags are: <br /> <hr /> <img /> Note that the <img /> tag will require additional attributes to display an image.


What tag is used to reserve space on a webpage for an image?

The img tag.The img tag.The img tag.The img tag.The img tag.The img tag.The img tag.The img tag.The img tag.The img tag.The img tag.


What is the basic format of HTML?

ANSWER:Below is the main HTML format. Your title here You webpage content here


How do you get emage HTML?

the tag is used to insert images. It is an empty element that only has attributes. Two attributes are required for the element: the src attribute and the alt attribute. The src attribute specifies the path of the image file. The alt attribute specifies an alternative text for the image, if the image is unavailable. The syntax for the tag is as follows: To know more check out the cronj IT site.


How do you specify size of an image in HTML?

the <IMG> tag has two attributes, height and width that take numeric values as input which specifies the pixel height and width of the image. You can use these attributes to specify the size of the image.


How do webpages use graphics?

You should use HTML tag "img" for that. look at the related link


Explain Hr and Img tag in HTML tags?

The hr tag is the horizontal rule tag. It puts a line across the page.The img tag displays an image in a page. If you wanted to display an image called photo.jpg, you could do it like this:


What tag is used when you want to insert a picture?

IMG


What is invalid for img tag n HTML?

center


What file is being called by this IMG tag?

The IMG tag typically references an image file through its "src" attribute, which contains the path or URL to the image. For example, an IMG tag like <img src="image.jpg" alt="description"> would call the file named "image.jpg" located in the same directory as the HTML file. The "alt" attribute provides alternative text for the image if it cannot be displayed. To determine the exact file being called, you would need to check the "src" value in the specific IMG tag in question.


Why use HTML tags?

Tags are the basic rules in HTML like if you wanted to add a dotted list you can use the ul tag and you can add images with the img tag and you can make the image a link by nesting the img inside a link tag but i believe the most useful tag is the div tag