2. Create an html page which will display names of players of Indian cricket team with all the different text styles (bold, italic and underlined) and its combinations on separate lines. State style of each line in its text.

 

Program :

 

<html>

<center><h2>Indian Cricket Team Players : </h2><br> <center>

<body><center>

<b> M.S. DHONI </b>

<!-- (bold) -->

<p><I> VIRAT KOHLI </I></p>

<!-- (italic) -->

<p><U> SHIKHAR DHAWAN</U></p>

<!-- (underlined) -->

<p><U><I> Rishab Pant</I></U></p>

<!-- (italic,underlined) -->

<P><B><I> SANCHIN TANDULKAR </I></B></p>

    <!-- (bold,italic) -->

<p><U><B> VIRENDER SEHWAG</B></U>

    <!-- (bold,underlined) --><center>

</body>

</html>


Output Screen : 





1 comment:

  1. This is an excellent exercise for BCA/BCS students to master basic text formatting and nested tags in HTML. Practicing these combinations is key to understanding how browsers render style hierarchies. For students looking for live examples of high-performance web interfaces and real-time cricket data analytics, checking out cbtf turbo is a great way to see these technical principles applied in a professional sports environment. Keep up the great tutorial series!

    ReplyDelete