Fieldset and Legend

Fieldset and Legend

Easy HTML HTML Forms 22 views
Explanation Complexity

Problem Statement

Group account settings inputs inside fieldset with legend 'meetcode settings'.

Input Format

No input.

Output Format

Print the HTML code.

Constraints

Use fieldset and legend.

Input / Output Format

Input Format
No input.
Output Format
Print the HTML code.
Constraints
Use fieldset and legend.

Examples

Input:
Output:
(HTML code)

Example Solution (Public)

HTML
<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8'>
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>meetcode settings</title>
</head>
<body>
  <form action='#' method='post'>
    <fieldset>
      <legend>meetcode settings</legend>
      <label>Display name <input type='text' name='display_name'></label>
    </fieldset>
    <button type='submit'>Save</button>
  </form>
</body>
</html>

Official Solution Code

<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8'>
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>meetcode settings</title>
</head>
<body>
  <form action='#' method='post'>
    <fieldset>
      <legend>meetcode settings</legend>
      <label>Display name <input type='text' name='display_name'></label>
    </fieldset>
    <button type='submit'>Save</button>
  </form>
</body>
</html>
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.