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.
Meanwhile you can watch this video
Watch Video