answersLogoWhite

0

What are attributes in HTML?

User Avatar

Anonymous

15y ago
Updated: 8/17/2019

Attributes are additional settings for tags to tell the tag what you want it to. Lots of tags can have several possible options as to what they can do, and the attributes tell it what it wants to do. The Body tag has attributes to do things like set the colour of the background of the body of the page. The font tag has attributes to tell it what colour the font should be, the size of the font and which particular font to use. If you are doing a line, you need to tell how wide it is and how thick it is, and also its colour. Colours being set is a common attribute in many fonts.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What are the attributes goes with the h1 tag?

In HTML 5, the <h1> element may have the attributes "class" and "style". In older versions of HTML (such as 4.01), other attributes such as "align" were supported, but these have been deprecated and removed in HTML 5 in favor of CSS.


What are the HTML structures?

element,tags,attributes


What are HTML tages?

HTML tags are the predefined tags that are embedded within the "<>". Each HTML tags has the following attributes and operations.


How do you change HTML attribute using HTML dom?

You can change HTML attributes easily. Using Dom that can be done using JavaScript.


What is the new in HTML?

The new HTML contains a large number of features. Download and Required attributes are new in it.


What is a HTML elements?

HTML tags and their respective attributes are used to create HTML documents so that you can view them in browsers and other user agents.


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.


When text are a different color on a website referred to as what?

HTML Tagcolors are defined in the Font Attributes


How many attributes does the BR tag have in HTML?

The BR tag has only the core tags, which all HTML tags have. These are id, class, style and title.


What information is supplied to a browser in an HTML tag?

HTML tag provides the charset, version number to the browser. It also passes the various attributes to the browser.


What is an example of HTML?

Attribute refers to the properties of the HTML elements. For example the element <IMG> is used to display images in a HTML page. This tag has certain attributes like height, width, src etc which specify the properties of the element.


What is the fullform of REL in HTML?

The REL attribute in HTML is a shortened version of "relationship." REL attributes are used to define the relationship between one file and another.