<html>
   <head><title>Color</title></head>
     <body align=”center”>
       <h1>7 separate lines in different colors</h1>
       <p style=”color:blue”>Blue</p>
       <p style=”color:green”>Green</p>
       <p style=”color:red”>Red</p>
       <p style=”color:brown”>Brown</p>
       <p style=”color:darkorange”>Dark Orange</p>
       <p style=”color:pink”>Pink</p>
       <p style=”color:purple”>Purple</p>
    </body>
</html>

Output –

also see

C Programming language
Go Programming language
Linked List Array
Stack Queue
Puzzle Reasoning
Aptitude Simplification
Previous articleStructured Tags
Next articleHTML Page with 6 Separate Lines in Different Sizes

LEAVE A REPLY

Please enter your comment!
Please enter your name here