Skip to content

Commit

Permalink
Modify the first-form.html file mdn#784
Browse files Browse the repository at this point in the history
- replace ul>li tags with p tags to match the current curriculum code
  example
  • Loading branch information
danieletie committed Jan 9, 2025
1 parent af5a4cf commit c07b976
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions html/forms/your-first-HTML-form/first-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,21 @@

<body>
<form action="/my-handling-form-page" method="post">
<ul>
<li>
<label for="name">Name:</label>
<input type="text" id="name" name="user_name" />
</li>
<li>
<label for="mail">E-mail:</label>
<input type="email" id="mail" name="user_mail" />
</li>
<li>
<label for="msg">Message:</label>
<textarea id="msg" name="user_message"></textarea>
</li>
<li class="button">
<button type="submit">Send your message</button>
</li>
</ul>
<p>
<label for="name">Name:</label>
<input type="text" id="name" name="user_name" />
</p>
<p>
<label for="mail">E-mail:</label>
<input type="email" id="mail" name="user_mail" />
</p>
<p>
<label for="msg">Message:</label>
<textarea id="msg" name="user_message"></textarea>
</p>
<p class="button">
<button type="submit">Send your message</button>
</p>
</form>
</body>
</html>

0 comments on commit c07b976

Please sign in to comment.