Home | Insert New Record | Login | Logout | |
FAQ
NEWS
FEEDBACK
HTML CSS PHP SQL
HTML div style - div style class
Welcome !
HTML div style - div style class

HTML div style - div style class

Inserting a style for div style there are three ways:
External style sheet,
Internal style sheet,
Inline style,
For any <div> on your page, you can specify any CSS property as: color, font-style, font-family, font-size, background, etc.

Inline html div style

Here in example 1 we give css to div of height, width, background and color.
Example 1:
<div style="height:300px; width:450px; color:#000000; background:#CCC"> Add your text here</div>