2012年3月14日星期三

HTML学习——HTML "style" Attribute


The style attribute specifies an inline style for an element.
The style attribute will override any style set globally, e.g. styles specified in the <style> tag or in an external style sheet.
The style attribute is not valid in: <base>, <head>, <html>, <meta>, <param>, <script>, <style>, and <title>.
syntax:
<element style="style_definitions">
style_definitions:One or more CSS properties and values separated by semicolons (e.g. style="color:blue;text-align:center")

没有评论: