Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at


Type: CSS inline style
CSS style rules to be applied to the element. Syntax is as in the HTML style attribute. It is preferred to put style rules in style sheets.

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Mgjbot, Enn, Jez, Okome, Dria
 Last updated by: Sheppy,