Definition List Basics

Definition List Basics

Easy HTML Tables & Lists 20 views
Explanation Complexity

Problem Statement

Create a definition list for 'Easy' and 'Hard'.

Input Format

No input.

Output Format

Print the HTML code.

Constraints

Use dl/dt/dd.

Input / Output Format

Input Format
No input.
Output Format
Print the HTML code.
Constraints
Use dl/dt/dd.

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</title>
</head>
<body>
  <dl>
    <dt>Easy</dt>
    <dd>Good for beginners.</dd>
    <dt>Hard</dt>
    <dd>Takes more thinking.</dd>
  </dl>
</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</title>
</head>
<body>
  <dl>
    <dt>Easy</dt>
    <dd>Good for beginners.</dd>
    <dt>Hard</dt>
    <dd>Takes more thinking.</dd>
  </dl>
</body>
</html>
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.