Программа HTML: https://codeforever.in/category/html/

<html>

<head>

<title> Exercise 1 Set A </title>

</head>

<body>

<font color="red">first line with color red </font><br>

<font color="orange">second line with color orange </font><br>

<font color="blue">third line with color blue </font><br>

<font color="yellow">forth line with color yellow</font><br>

<font color="black">fifth line with color black </font><br>

<font color="pink">sixth line with color pink </font><br>

<font color="green">seveth line with color green </font><br>

</body>

</html>

Для вывода:

https://codeforever.in/q2-create-an-html-page-with-7-separate-lines-in-other-colors-state-the-color-of-each-line-in-its-text /