answersLogoWhite

0


Best Answer

The body tag in HTML 5 does not support any element-specific attributes. It does however support the global attributes, and the event attributes.

Please see the related links for a complete reference.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago
HTML TagsHTML markup tags are usually called HTML tags
  • HTML tags are keywords (tag names) surrounded by angle brackets like
  • HTML tags normally come in pairs like and
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, with a forward slash before the tag name
  • Start and end tags are also called opening tags and closing tags

syntax:

content

HTML Attributes
  • HTML elements can have attributes
  • Attributes provide additional information about an element
  • Attributes are always specified in the start tag
  • Attributes come in name/value pairs like: name="value"
  • Attribute values should always be enclosed in quotes.

Example:

HTML links are defined with the tag. The link address is specified in the href attribute:

This is a link

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

The tag supports all of the HTML5 Global Attributes (id, class, style, and so on) and event handlers (onclick, onmouseover, and so on). The tag also supports the following attributes:

  • src (the "source" URI of the image)
  • alt (the alternate text to be displayed if the browser is unwilling or unable to display the image)
  • height (the rendered or reserved height of the image)
  • width (the rendered or reserved width of the image)
  • ismap (specifies the image as a server-side image map)
  • usemap (specifies the image as a client-side image map)
Other attributes, such as border, margin, align, and so on, are deprecated and are no longer to be used, but replaced with their CSS equivalents.
This answer is:
User Avatar

User Avatar

Wiki User

7y ago

This is used to have something in the body of the page.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the attributes of image tag?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the two attributes that you should use with every img tag?

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.


What is the name of the additional information placed inside a tag that controls how the tag is used?

The information contained within the opening portion of an HTML tag that controls various attributes of the tag is called the tags "attributes."Attributes follow the format attribute="value" and are added to the tag after it's opening. For instance:In this case, the image tag has two attributes, the src attribute and the alt attribute. The values of those attributes are "a.png" and "A" respectively.


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 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.


Syntax when using image tag to an HTML document?

The basic syntax is:Additional optional attributes include height, width, and border.


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 are the attributes of a firefighter?

There can be various attributes of an element. Firefighter could be a custom tag with various attributes.


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 are the attributes of the BODY tag?

The body tag in HTML 5 does not support any element-specific attributes. It does however support the global attributes, and the event attributes. Please see the related links for a complete reference.


What are specifications inside a tag called?

Attributes


How many attributes does the body tag have?

Some attributes for the BODY tag are: * dir - Specifies the text direction for the content. Values (rtl and ltr) * id - Specifies a unique id for the component * style - specifies the style (usually CSS) to be used * background - to specify a background image (Deprecated) * bgcolor - to specify a background color (Deprecated) * etc...


Which attributes is used with TR tag?

The TR (Table Row) tag is part of the <table> tag family. It has several attributes. You format the attributes like this: <tr attribute="whatever">. Here are the attributes for the <tr> tag for HTML 4 and earlier: * align (right, left, center, justify, char) * bgcolor (#xxxxxx, colorname) * char (character) * charoff (number) * valign (top, middle, bottom, baseline) NOTE: These attributes are not supported in HTML 5.