tags

The tags object is used to access the properties of the tag name which is specified in the statement. The statement is used to specify the JavaScript style syntax for style rules. For example, the following rule will color all text within the P (paragraph) tags red.

tags.P.color = "red"

The properties of this object include every Html tag which is used in the final version four specifications of the Html language. Methods or collections are not used with this object, nor are event handlers. For the sake of brevity, you may include all DOM implementations of Html tags as properties of this object. You'll find below the lists of style and position properties of the tags object.

The style properties of the tags object are:

backgroundColor
backgroundImage
borderBottomWidth
borderColor
borderLeftWidth
borderRightWidth
borderStyle
borderTopWidth
borderWidths()
color
display
fontFamily
fontSize
fontStyle
fontWeight
listStyleType
marginBottom
marginLeft
marginRight
margins()
marginTop
paddingBottom
paddingLeft
paddingRight
paddings
paddingTop
textAlign
textDecoration
textTransform
verticalAlign
whitespace

The position properties of the tags object are:

background
bgColor
clip
left
top
visibility
zIndex