How to define an option in a drop-down list in HTML

Introduction

How to define an option in a drop-down list in HTML

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>www.techstudy.org</title>
 
</head>
<body>
<select>
<option value="C Language">C Language</option>  
<option value="C++ Language">C++ Language</option>  
<option value="Java Language">Java Language</option>  
<option value="C# Language">C# Language</option>  
</select>  
</body>
</html>
</html>

Result

How to define an option in a drop-down list in HTML
How to define an option in a drop-down list in HTML

Leave a Comment