How to write a inline css in html elements.

In this tutorial, we will discuss about how to use inline css in this tutorial , we can see the topic about the how to code a inline css.

Inline css in this tutorial.

Way of learn:

  • Learn general html tags.

Design a tags using style tag.

<body> <h1 style="color:red; align-text:center;"> This is inline css1 <\h1> <h1 style="color:red;align-text:center;"> This is second inline css <\h2> <\body>

 

Example Output:

This is inline css1.

This is second inline css.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top