Wednesday, November 22, 2017

Using Inline CSS


An inline style may be used to apply a unique style for a single element. To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property.

Try the following Inline CSS code.

<h1 style="color:blue;margin-left:30px;">This is a heading</h1>


No comments:

Post a Comment

Why We Need Web Sites Imagine you are a web designer. You are meeting some people after long time, may be your friends or relations. Whe...