Can use CSS Properties as a HTML Attibutes? -
example:
p { color:blue; font:arial; font-size:30px; }
all css properties can html attribute?
<p color="blue" font="arial">some text</p>
css properties not valid html attributes, can set inline html element through style
attribute.
e.g.
<p style="color:blue;font:arial;font-size:30px;"> content.....</p>
Comments
Post a Comment