Tech Study

HTML Script To Print Number 1-10 | Each Being Different Color

Introduction

Write a HTML script to print the numbers 1 – 10, each number being a different color

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>www.techstudy.org</title>
</head>
<body>
<font color="green">1</font>
<font color="blue">2</font>
<font color="gray">3</font>
<font color="#008080">4</font>
<font color="#0008B">5</font>
<font color="brown">6</font>
<font color="#dcdcdc">7</font>
<font color="#800000">8</font>
<font color="purple">9</font>
<font color="#688e23">10</font></body>
</html>

Result

Write a HTML program to print the numbers 1 - 10, each number being a different color
Write a HTML program to print the numbers 1 – 10, each number being a different color

Taggedeach number being a different colorWrite a HTML program to print the numbers 1 - 10

Python Examples

Introduction: Python Examples are the basic programming concepts of python like python syntax,python data types,,python operators,python if else,python comments etc.. …

Read more

C String Functions

C String Functions perform certain operations, It provides many useful string functions which can come into action. The <string.h> header …

Read more