JavaScript Style Attributes
JavaScript Style Attributes,
Listed below are the tables of CSS properties for various HTML element style attributes. I have added a column indicating the javaScript name that the browser recognizes for these properties. I have only listed those that I know work, but the trend seems to be to use the same name when one name is the style descriptor. When there are two names, use the first name in lower case and the first character of the second name in upper case. Examples:
color = color
background-color = backgroundColor
font-style = fontStyle
font-weight = fontWeight
JavaScript Style Attributes
Listed below are the tables of CSS properties for various HTML element style attributes. I have added a column indicating the javaScript name that the browser recognizes for these properties. I have only listed those that I know work, but the trend seems to be to use the same name when one name is the style descriptor. When there are two names, use the first name in lower case and the first character of the second name in upper case. Examples:
color = color
background-color = backgroundColor
font-style = fontStyle
font-weight = fontWeight
JavaScript Style Attributes
0 Comments:
Post a Comment
<< Home