answersLogoWhite

0


Best Answer

A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:

<body bgcolor="Red">

User Avatar

Wiki User

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

Wiki User

10y ago

A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:



A tag can have an additional setting in it. This is an attribute. The attributes can then be given values. For example the body tag has an attribute to set the background colour of the page. The attribute is bgcolor. What colour you specify is the value, in this case it is red:

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

HTML elements HAVE attributes

EXAMPLE:

<div id="mydiv" style="background-color:dodgerblue;"></div>

DIV is the element, and has the attributes ID and STYLE

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an attribute and value to an HTML tag?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is width a tag in HTML?

This is not a tag. It is an attribute and part of CSS


The color of a hyperlink that has not been clicked can be specified by setting what attribute in the BODY HTML tag?

The color of a hyperlink that has not been clicked can be specified by setting the "BGCOLOR" attribute in the HTML tag.


All tags and its attributes with example in HTML?

A start tag will contain the content followed by the end tag The values specify the properties of the attribute which provide additional information about HTML element. For example: the element Font will have an attribute to define the color of the font, and the value will be the color. This information is used in the start tag. This is arial font ="arial" is the value. (Element Attribute= "value"> General values could include size= "2" ( "2" is the value to define the size of the font in pixels) or color = "000000" (="000000" is the value to define the color of the font)


What is an HTML attribute used for?

In HTML, atttribute provides additional information about HTML element. Attribute of HTML element is written in start tag and usually come in name/value pair e.g. name="value". Attribute names and values are case sensative and it is recommented by W3C to write them in lower case. Some attributes which can be used on any HTML element are: classs, id, style, title etc. Attribute values should always be quoted in single or double quotes. The best practice is to use double quotes around values.


Which attribute specifies the submit URL in a form tag in HTML?

Use the "action" attribute of a FORM element to specify the URI of the form processor.

Related questions

Is width a tag in HTML?

This is not a tag. It is an attribute and part of CSS


The color of a hyperlink that has not been clicked can be specified by setting what attribute in the BODY HTML tag?

The color of a hyperlink that has not been clicked can be specified by setting the "BGCOLOR" attribute in the HTML tag.


What is an XML attribute?

An XML attribute is a specified property for a tag with a value. For example, the XML tag "person" could have the attribute "name" with a value of "bob."


Which tag is used to hide the field on a HTML form?

The input tag with the type attribute as hidden.


What is differences between tags and attribute?

A tag is a declaration of a HTML object whereas an Attribute is a property of an object.


What are values in HTML?

Depends what of values you mean. A value of the length, value as the attribute or value of tags. You have to specify it a bit more. But values may also be the content that is inside a tag.


All tags and its attributes with example in HTML?

A start tag will contain the content followed by the end tag The values specify the properties of the attribute which provide additional information about HTML element. For example: the element Font will have an attribute to define the color of the font, and the value will be the color. This information is used in the start tag. This is arial font ="arial" is the value. (Element Attribute= "value"> General values could include size= "2" ( "2" is the value to define the size of the font in pixels) or color = "000000" (="000000" is the value to define the color of the font)


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 change link images?

Simple. Put the image tag inside the anchor tag in HTML. Give the Image tag the src attribute value = "the image location" and set border attribute = 0 ( i suggest this as its looks better). Inside the anchor tag you may specify the link to which you want the visitor to go.


How do you use border in HTML?

Border can be an attribute in html. For example, in the table tag. This will put a border around the table.As another example, it can be used in the img tag.


Which HTML tag would be apply the bgcolour attribute to change the background color of single table row?

The tr tag.


What is an HTML attribute used for?

In HTML, atttribute provides additional information about HTML element. Attribute of HTML element is written in start tag and usually come in name/value pair e.g. name="value". Attribute names and values are case sensative and it is recommented by W3C to write them in lower case. Some attributes which can be used on any HTML element are: classs, id, style, title etc. Attribute values should always be quoted in single or double quotes. The best practice is to use double quotes around values.