Skip to main content
🎁 Exclusive Launch Deal: Premium Themes Available FREE — Grab Yours Now!
Back to Blog
General

Html Styles

admin 1 min readPublished Jul 22, 2022Updated Jul 3, 2026
Html Styles

In this blog, I will explain you about html styles. If you are building a website then you need to give a good look and feel to website. this can be done by style attributes.

Below is the format for html style





In style attribute you need to define property and its value. property is css property and value is css value.

Below is some example

I want to give a red color to text inside heading tag so below will be the syntax .

CreatesWowtech

Below you can see its result

Now I want to give a Blue background to his H1 tag

CreatesWowtech

Below will be the output

So Like this you can do styling and give look and feel to your website.

Hope you like this blog so please share with your friends and stay connected with us.