Giving your customers with simple signup and registration forms on your website is essential for attracting leads, growing your mailing list, and boosting your overall sales. But there’s a problem: HTML.
HTML is the official code used to make most web sheets and web apps. But like most programming languages, there’s a sheer training curve, especially if you’ve never touched any coding in your life.
Fear not, we’re going to break that. With some simple examples, you’ll be ready to create a basic registration form using HTML. Let’s get started.
Before we start writing code first, we need to create a primary structure of the HTML document, so that the browser can understand and start working. The basic HTML structure looks like the following.
After writing the primary structure of the HTML document, you will also write the tags and content you need. After that, you can see the output in your browser. We know that HTML Sudu Mae is used for exposing content in a basic format. To complete our content we need to use CSS, which is an HTML insert and it creates an engaging user interface.
<!DOCTYPE html>
<html>
<head>
<title>Create ragistration form</title>
</head>
<body>
<form>
<table>
<tr>
<td>
Name:
</td>
<td>
<input type="text" placeholder="Name" name="">
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input type="Password" placeholder="Password" name="">
</td>
</tr>
<tr>
<td>
Gender:
</td>
<td>
<input type="radio" name="Gender">Male
<input type="radio" name="Gender">Famale
</td>
</tr>
<tr>
<td>
Email:
</td>
<td>
<input type="Email" placeholder="Email" name="">
</td>
</tr>
<tr>
<td>
Phone No:
</td>
<td>
<select>
<option>088</option>
<option>258</option>
<option>788</option>
<option>977</option>
<option>908</option>
<option>++8</option>
</select>
<input type="Phone" placeholder="0966000000" name="">
</td>
</tr>
</table>
</form>
</body>
</html>
No comments: