Hidden Input
HTML
Medium
1 views
Problem Description
Add a hidden input 'source' with value 'meetcode' in a form.
Output Format
Print the HTML code.
Constraints
Use input type hidden.
Official Solution
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>meetcode</title>
</head>
<body>
<form action='#' method='post'>
<input type='hidden' name='source' value='meetcode'>
<button type='submit'>Send</button>
</form>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!