🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X
Questions


















Write html code to generate following output. • Coffee • Tea • Black Tea • Green Tea • Milk

Last Updated : 16 Jul 2025 Jan 22, Jul 22, Jan 23, Jan 24, Jul 24

Solution:

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
    <ul>
        <li>Cofee</li>
        <li>Tea</li>
        <li>Black Tea</li>
        <li>Green Tea</li>
        <li>Milk</li>
    </ul>

</body>
</html>

OUTPUT:

Code Explanation:

  • <ul>: Creates an unordered (bulleted) list.
  • <li>: Defines each item in the list.
  • The list includes: Coffee, Tea, Black Tea, Green Tea, and Milk.
Report an error

Meanwhile you can watch this video

Watch Video
Latest Updates