Web Interface HTML Notes
Web Interface HTML Notes
<head>
<title>Registration form</title>
</head>
<body>
<form>
<label for="email">Email:</label>
<label for="pwd">Password:</label>
<button>Submit</button>
</form>
</body>
</html>
Tags Explained:
<title>: Sets the title of the HTML document that appears in the browser's title bar or tab.
<h1 >: This tag stands for "heading level 1." It's the most important and typically the largest heading on a
page. It's used to denote the primary heading or title of a webpage or a section within the page. Heading
tags can go from h1 to h6.
<label>: Creates a label for an input field. The for attribute in the <label> tag connects it to a specific
input field using the id attribute.
<input>: An input field where users can enter different types of data. It can have various types such as
text, email, password, etc. The id attribute uniquely identifies each input field and is connected to its
corresponding label using the for attribute.
<button>: Creates a button that users can click to submit the form.
Output: