answersLogoWhite

0


Best Answer

In HTML 4, the "align" attribute is used to adjust the horizontal alignment of text within a table header or table cell .

Centered Header
Right aligned cell data

The possible values for the align attribute are left, center, right and justify. The default for table headers is "center" and the default for table cells is "left."

In XHTML the align attribute is deprecated. In the current draft of the HTML 5 standard, the attribute is listed as obsolete. Deprecated elements are still part of the standard, and so support for them across browsers is good. Obsolete elements are notpart of the standard, and therefore may or may not work in new browsers. (In other words, it's bad form to use the align attribute in XHTML, and a very bad idea to use it in HTML 5.)

Instead, use the text-align property in CSS.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What attribute of the th and td tags horizontally aligns the cell?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 the different kinds of HTML tags attribute?

HTML is a markup language, thus has a number of tags. Some very common tags are <p>,<a><body> etc.


What is a href code?

href is a Attribute used for the Anchor tags to link a image or line of text to a specific website here's a visual for linking a anchor to a image using and href attribute I hope this helped you understand the href attribute


How do you do HTML anchor?

The tag for an anchor is just 'a' Anchor tags usually have an href attribute, and often a name and/or target as well.


What tags create a table column?

The tag tells the browser to display a table.In between are these tags: This makes a table row, and in between these tags goes: This makes a table cell. This makes a table heading cell (optional) Defines a table header area (optional) Defines a table body area (optional) Defines a table footer area (optional) Defines a caption for your table (optional) Defines a column group for formatting (optional) Defines a column for formatting (optional)Not all of these tags work in all browsers. The table, tr and td tags are the most important ones. There are also many attributes that can be used to affect how your tables work with these tags.


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.


What is the difference between a period and a hash symbol in declaring CSS classes?

Period which specifies to a class using (.) or dot operator Where as hash or # specifies to id of a particular attribute of HTML tags


When smart tags are turned on what does excel place in a cell to indicate that smart tag is avalible?

purple triangle


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.


What HTML lines are used to hide javascript from older browsers?

The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are


When smart tags are turned on excel places a small what in a cell to indicate a smart tag is availabel?

Purple Triangle :)


What does a Golgi apparatures do in a plant cell?

Same thing it does in animal cells. Modifies proteins and lipids, tags them for their destination, inside or outside the cell, and packages them in vesicles for transport.