Copy the code and save as .html or .htm file. Then open this file using any web browser.
Add Color or Style to your text
In the above code we have not added any style , now let us try to add background color , font color , layout etc to our <h1> tag. To add a style change the <H1> tag to this.
<H1 class='display'>Visit Plus2net.com </H1>
Copy the Style properties and place them inside <head> tag. Open the page in browser and check.
One sample code is here.
<html>
<head>
<title>(Type a title for your page here)</title>
<style>
.display {
color: #f0d422;
font-size:20px;
background-color: #00ff00;
text-align: left;
}
</style>
</head>
<body>
<h1 class='display'>Visit Plus2net.com </h1>
</body>
</html>
This article is written by plus2net.com team.
plus2net.com
smo1234
07-08-2016
This is an excellent tool
✖
We use cookies to improve your browsing experience. . Learn more