answersLogoWhite

0


Best Answer

WIDTH="80"

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the correct xhtml for an attribute and its value?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Which type of CSS is coded in the body of the web page as an attribute of an Xhtml tag?

Embedded


How can you disable a particular part in the source code of CSS?

Put /* block comments */ around it, for example: style { attribute: value; attribute: value; attribute: value; } style { /* attribute: value; */ attribute: value; attribute: value; } or style { /* attribute: value; attribute: value; */ attribute: value; } or /* style { attribute: value; attribute: value; attribute: value; } */ And while this won't validate, attribute renaming uses a lot less typing (and I use it myself): style { xattribute: value; attribute: value; attribute: value; }


What is the correct XHTML for a paragraph?

The correct XHTML for a paragraph would open the paragraph with a triangular bracketed p and close the paragraph with a triangular bracketed forward slash p. The tags must be in lower case in XHTML.


What are the attributes of table?

The only attribute specific to the TABLE tag allowed by the W3C for a table in HTML5 is the "border" attribute, which takes an integer value specifying whether the table should have a border. The table can also take all of the HTML5 Global Attributes (see link.)In HTML 4 and XHTML 1.0, the table tag has significantly more specific attributes that are allowed. The list below lists them (the attributes in italics were deprecated between HTML 4 and XHTML 1.0 and should not be used in XHTML.)align This attribute can take a value of "left", "right", or "center" and adjusts the table's alignment in relation to the surrounding text.bgcolor This attribute can take a color name, rgb, or hex value, and is used to set the color of the table's background.border This attribute takes an integer value for the number of pixels, which specify the width of the border around the table. (This is the same attribute that survived in HTML5)cellpadding This attribute takes an integer value that specifies the distance between the edge of a table cell, and its content, in pixels.cellspacing This attribute takes an integer that defines the distance, in pixels, between the outer edge of cells.frame This attribute can be assigned the values of "void", "above", "below", "hsides", "lhs", "rhs", "vsides", "box", or "border" and defines the portions of the outside border that should be visible.rule This attribute can be assigned any of the values from "none", "groups", "rows", "cols", or "all". This value specifies which portions of the inside borders of the table will be visible.summary This attribute takes a string value, and is used to summarize the content of the table. It is intended to be used to provided additional information for the visually impaired, and is not visible in a normal browser.width The value of this attribute is either an integer (representing pixels) or a percentage of the width of the parent element, written as a percentage (e.g. "45%") The attribute specifies the width of the table.In XHTML and HTML 4, the TABLE tag can also take all of the Standard Attributes. See the link for details.


When converting old html code to xhtml make sure that all inline images contain what attribute?

ALT

Related questions

Is attribute minimization allowed in XHTML?

No.


Which type of CSS is coded in the body of the web page as an attribute of an Xhtml tag?

Embedded


How can you disable a particular part in the source code of CSS?

Put /* block comments */ around it, for example: style { attribute: value; attribute: value; attribute: value; } style { /* attribute: value; */ attribute: value; attribute: value; } or style { /* attribute: value; attribute: value; */ attribute: value; } or /* style { attribute: value; attribute: value; attribute: value; } */ And while this won't validate, attribute renaming uses a lot less typing (and I use it myself): style { xattribute: value; attribute: value; attribute: value; }


What is the correct XHTML for a paragraph?

The correct XHTML for a paragraph would open the paragraph with a triangular bracketed p and close the paragraph with a triangular bracketed forward slash p. The tags must be in lower case in XHTML.


What are the attributes of table?

The only attribute specific to the TABLE tag allowed by the W3C for a table in HTML5 is the "border" attribute, which takes an integer value specifying whether the table should have a border. The table can also take all of the HTML5 Global Attributes (see link.)In HTML 4 and XHTML 1.0, the table tag has significantly more specific attributes that are allowed. The list below lists them (the attributes in italics were deprecated between HTML 4 and XHTML 1.0 and should not be used in XHTML.)align This attribute can take a value of "left", "right", or "center" and adjusts the table's alignment in relation to the surrounding text.bgcolor This attribute can take a color name, rgb, or hex value, and is used to set the color of the table's background.border This attribute takes an integer value for the number of pixels, which specify the width of the border around the table. (This is the same attribute that survived in HTML5)cellpadding This attribute takes an integer value that specifies the distance between the edge of a table cell, and its content, in pixels.cellspacing This attribute takes an integer that defines the distance, in pixels, between the outer edge of cells.frame This attribute can be assigned the values of "void", "above", "below", "hsides", "lhs", "rhs", "vsides", "box", or "border" and defines the portions of the outside border that should be visible.rule This attribute can be assigned any of the values from "none", "groups", "rows", "cols", or "all". This value specifies which portions of the inside borders of the table will be visible.summary This attribute takes a string value, and is used to summarize the content of the table. It is intended to be used to provided additional information for the visually impaired, and is not visible in a normal browser.width The value of this attribute is either an integer (representing pixels) or a percentage of the width of the parent element, written as a percentage (e.g. "45%") The attribute specifies the width of the table.In XHTML and HTML 4, the TABLE tag can also take all of the Standard Attributes. See the link for details.


When converting old html code to xhtml make sure that all inline images contain what attribute?

ALT


What is correct XHTML for a line break?

<hr />


What property in the XHTML link tag when configuring CSS to display a printed page?

If you mean: When configuring CSS to display a printed page, what property is used in the XHTML link tag?The answer is: the media attribute or media="print"Example:


What is derived attribute?

Attribute whose value may be calculated (derived) from other Attribute


Differences between metadata and attribute data?

Metadata describes the characteristics of data, such as its format, source, and creation date, while attribute data provides specific values and properties of the data, such as the size, color, or location. Metadata is essentially data about the data, providing context and information on how to interpret and use the data, while attribute data is the actual content or values within the dataset.


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


What is multivalued attribute?

Potential to have more than one value for an attribute