First we have to create a html document. and write the html elements and add contents. Then Create the Cascading Style Sheets and write the style rules to the html document.
The following example will help to know how to create html with css.
The above example is very very basic and you can start with this.
Thanks
The following example will help to know how to create html with css.
<html>
<head>
<title>Fresherstarget or your title</title>
<style>
p
{
color: red;
}
</style>
</head>
<body>
<p>The Sample Document for check color</p>
</body>
</html>
<head>
<title>Fresherstarget or your title</title>
<style>
p
{
color: red;
}
</style>
</head>
<body>
<p>The Sample Document for check color</p>
</body>
</html>
The above example is very very basic and you can start with this.
Thanks