Change The Color Of Text

How to Change The Color Of Text:-
In this page you will learnhow to change the color of text in your web page. You can do this by changing the style of your elements the property which is responsible for the color of an element's text is the color style property.
                                              To Change The Color Of Text follow the below steps:
Step1: Open your text editor or Notepad.
Step2: Write the below code in your editor or notepad.
Step3: Save your document in etc.html format.
Step4: Open in Browser.




For Example:

<html>
<head>
<title> your web page title name </title>
</head>
<body>
<h1 style="color: red;"> your first heading </h1>
<p style="color: blue;"> your paragraph </p>
</body>
</html>


Output:















Please Share To Other:

Post a Comment

0 Comments