Aria Label for Search
HTML
Medium
3 views
Problem Description
Create a search input with aria-label 'Search meetcode'.
Output Format
Print the HTML code.
Constraints
Use aria-label on input.
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='/search' method='get'>
<input type='search' name='q' aria-label='Search meetcode'>
<button type='submit'>Search</button>
</form>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!