Grade 11 Com Prog Quarter 1 Week 5 Module 5
Grade 11 Com Prog Quarter 1 Week 5 Module 5
Grade 11 Com Prog Quarter 1 Week 5 Module 5
Department of Education
National Capital Region
DIVISION OF CITY SCHOOLS – MANILA
Manila Education Center Arroceros Forest Park
Antonio J. Villegas St. Ermita, Manila
PROGRAMMING
.NET NCIII
Grade 11
PROGRAMMING.NET
K-12 CURRICULUM Division of City Schools-Manila
DEPARTMENT OF EDUCATION
K TO 12 BASIC EDUCATION CURRICULUM JUNIOR HIGH SCHOOL
TECHNICAL LIVELIHOOD EDUCATION AND SENIOR HIGH SCHOOL -
TECHNICAL-VOCATIONAL-LIVELIHOOD TRACK INFORMATION AND
COMMUNICATIONS TECHNOLOGY–PROGRAMMING (.NET TECHNOLOGY) NC
III
(1st Semester)
By:
RHAYMOND M. MONTERDE
Master Teacher I
C.P. Garcia High School
PROGRAMMING.NET Lesson 5
K-12 CURRICULUM
Creating Forms
in HTML
EXPECTATIONS:
Key Terminologies
<Form> tag - tag that defines a form that is used to collect user
input data in rows and columns.
LEARNING OUTCOME 1:
PROGRAMMING.NET
K-12 CURRICULUM
Direction: Choose the correct answer
Brief Introduction
An HTML form is a section of a document containing normal content,
markup, special elements called controls (checkboxes, radio buttons,
menus, etc.), and labels on those controls. Users generally "complete" a form
by modifying its controls (entering text, selecting menu items, etc.), before
submitting the form to an agent for processing (e.g., to a Web server, to a
mail server, etc.)
PROGRAMMING.NET
K-12 CURRICULUM
Output:
Radio buttons are used when out of many options; just one option is
required to be selected. They are also created using HTML <input> tag and
the type attribute is set to radio. Indicates the type of input control and for
checkbox input control it will be set to radio
PROGRAMMING.NET
K-12 CURRICULUM
Output:
Here's a simple form codes with textbox, radio button and submit
button:
PROGRAMMING.NET
K-12 CURRICULUM
Output:
ACTIVITY 1.1:
PROGRAMMING.NET
K-12 CURRICULUM
The HTML <form> tag is used for creating a form for user
input. A form can contain textfields, checkboxes, radio-buttons and
more. Forms are used to pass user-data to a specified URL.
How to write the code for textbox, radio and submit button in a
<form>tag. Write it below
PROGRAMMING.NET
K-12 CURRICULUM
Direction: Choose the correct answer
PROGRAMMING.NET
K-12 CURRICULUM
Answer Key:
Pre-Test LO1 3. D
1. D 4. C
2. B 5. E
Post-Test LO1
1. D
2. B
3. D
4. C
5. E
Activity 1.1
<html>
<head>
<title>sample form</title>
</head>
<body>
<form method=”post”>
Name:<input type=”text”><br>
Address:<input type=”text”><br>
Birthday :<input type=”text”><br>
Birth Place:<input type=”text”><br>
Gender:<input type=”text”><br>
Contact Number :<input type=”text”><br>
Grade Level:<input type=”text”><br>
Section:<input type=”text”><br>
Religion :<input type=”text”><br>
Nationality :<input type=”text”><br>
Mother's Name:<input type=”text”><br>
Occupation:<input type=”text”><br>
Contact Number:<input type=”text”><br>
Father's Name:<input type=”text”><br>
Occupation:<input type=”text”><br>
Contact Number:<input type=”text”><br>
</form>
</body>
</html>
Name:<input type=”text”><br>(textbox)
<input type="radio" id="red" name="color" value="red">
<label for="red">Red</label><br> (radio button)
PROGRAMMING.NET
K-12 CURRICULUM
<input type="submit" value="Submit">(submit button)
References:
https://www.w3schools.com/html/html_forms.asp
https://www.w3.org/TR/html4/interact/
forms.html#:~:text=17.1%20Introduction%20to%20forms,and%20labels
%20on%20those%20controls.
https://www.tutorialspoint.com/html/
html_form_tag.htm#:~:text=Description,data%20to%20a%20specified
%20URL.
PROGRAMMING.NET
K-12 CURRICULUM
Acknowledgements
PROGRAMMING.NET
K-12 CURRICULUM