Tech Study

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

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

C String Functions

C String Functions perform certain operations, It provides many useful string functions which can come into action. The <string.h> header …

Read more

Function Pointer in C++

Introduction : Function Pointer in C++ Pointers: In function pointer in c++ are the variables that consist of addresses of …

Read more