HTML Forms
Creating Text Inputs and Buttons
- Group from controls
What input are part of the form?
- Send the data somewhere
Where does the form data go when submitted.
Text inputs
- The input element is extremely versatile set type=”text” to create a standard text input. Like <a>, it has no closing tag.
Button
The Form Elements
Where the form data is sent
- What HTTP “verb” is used. “METHOD”
Name and Placeholder Attributes
Name
The name that the data will be sent to the server under
It is code to access direct to search items.
Placeholder
- This is text which written in the form. To use this, we write
Properly Labeling form Controls
Labels
Match a label element to a form control using for attribute. It must match the id attribute on an input
Checkboxes, Text areas
Text areas
- Use <textarea> tags to create a multi-line text input
Checkboxes
- Use type= “checkbox” to create a checkbox element.
Select and Radio Button Grouping
Populate a <select> element with <option> element.
Radio button
Radio buttons are usually grouped together. Only ONE option can be selected.
Name = “contact” shows connection in two or three option either select one from all of them.
Spans
- Spans are generic inline elements. They have no special meaning but can be styled later using CSS.
My name is Ahmad.
Divs
- Divs are generic containers that have no inherent meaning. They are used to group content together for styling.
This is paragragh under div element.
Facebook
Twitter
LinkedIn
Pinterest
WhatsApp
Table of Contents
Interesting Posts


Introduction to HTML
16/12/2024

What Is an API? A Simple Guide for Beginners
28/07/2025


How to Deploy a Website Using GitHub Pages
28/07/2025

Ghulam Ahmad is an Excellent Writer, His magical words added value in growth of our life. Highly Recommended
- Irfan Ahmad Tweet
Post Views: 152




26 Responses
Great information shared.. really enjoyed reading this post thank you author for sharing this post .. appreciated
I really like reading through a post that can make men and women think. Also, thank you for allowing me to comment!
I do not even understand how I ended up here, but I assumed this publish used to be great
Quick assembly, efficient process.
I truly appreciate your technique of writing a blog. I added it to my bookmark site list and will
Strong structure, no issues.
Thank you for demystifying a concept that many find challenging. Your straightforward explanation made it incredibly accessible. Your talent for simplifying complex topics is much appreciated.
For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents.
Looking forward to your next post. Keep up the good work!
Great information shared.. really enjoyed reading this post thank you author for sharing this post .. appreciated
This was beautiful Admin. Thank you for your reflections.
This is my first time pay a quick visit at here and i am really happy to read everthing at one place
Awesome! Its genuinely remarkable post, I have got much clear idea regarding from this post
For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents.
Awesome! Its genuinely remarkable post, I have got much clear idea regarding from this post
Such a detailed explanation, I now understand this concept much better.