Create An Html5 Page Which Will Display Names Of India's President | Html & CSS - IProgramX

Q. create an html5 page which will display the names of India's President and their work period since our independence on separate lines in different colors. State color of each line in its text.


HTML Code

<HTML>
<HEAD><TITLE>India's President</TITLE></HEAD>
<BODY>
<BIG><CENTER>India's President</BIG><BR>
<font size="5" FACE="arial" color="red">Dr. Shanker Dayal(1990-1995)</font><BR>
<font size="5" face="arial" color="blue">Dr.k.Narayan(1995-2001)</font><BR>
<font size="5" face="arial" color="yellow">Dr.A.P.J.Abdul Kalam(2001-2005)</font><BR>
<font size="5" face="arial" color="orange">Dr. Sarwapalli RadhaKrishnan(2005-2010)</font><BR>
<font size="5" face="arial" color="green">Dr. Pratibha Patil(2010-2015)</font><BR>
</BODY>
</HTML>

Output:


Post a Comment

0 Comments