Professional Documents
Culture Documents
Livelihood
QUARTER
1 Computer Programming
Republic Act 8293, section 176 states that: No copyright shall subsist in any work
of the Government of the Philippines. However, prior approval of the government
agency or office wherein the work is created shall be necessary for exploitation of
such work for profit. Such agency or office may, among other things, impose as a
condition the payment of royalties.
Borrowed materials (i.e., songs, stories, poems, pictures, photos, brand names,
trademarks, etc.) included in this module are owned by their respective copyright
holders. Every effort has been exerted to locate and seek permission to use these
materials from their respective copyright owners. The publisher and authors do not
represent nor claim ownership over them.
Computer
Programming
QUARTER 1
MODULE
Interaction of the HTML Form
8 Elements and Attributes
E-mail Address: divisionofpasig@gmail.com
Introductory Message
Welcome to the Computer Programming for the ICT Module on HTML Form
Elements and Attributes!
This module was collaboratively designed, developed and reviewed by educators from
Schools Division Office of Pasig City headed by its Officer-In-Charge Schools Division
Superintendent, Ma. Evalou Concepcion A. Agustin in partnership with the Local
Government of Pasig through its mayor, Honorable Victor Ma. Regis N. Sotto.
The writers utilized the standards set by the K to 12 Curriculum using the Most
Essential Learning Competencies (MELC) while overcoming their personal, social,
and economic constraints in schooling.
This learning material hopes to engage the learners into guided and independent
learning activities at their own pace and time. Further, this also aims to help learners
acquire the needed 21st century skills especially the 5 Cs namely: Communication,
Collaboration, Creativity, Critical Thinking and Character while taking into
consideration their needs and circumstances.
In addition to the material in the main text, you will also see this box in the body of
the module:
As a facilitator you are expected to orient the learners on how to use this module.
You also need to keep track of the learners' progress while allowing them to manage
their own learning. Moreover, you are expected to encourage and assist the learners
as they do the tasks included in the module.
For the Learner:
Welcome to the Computer Programming for the ICT Module on HTML Form
Elements and Attributes!
The hand is one of the most symbolized part of the human body. It is often used to
depict skill, action and purpose. Through our hands we may learn, create and
accomplish. Hence, the hand in this learning resource signifies that you as a learner
is capable and empowered to successfully achieve the relevant competencies and
skills at your own pace and time. Your academic success lies in your own hands!
This module was designed to provide you with fun and meaningful opportunities for
guided and independent learning at your own pace and time. You will be enabled to
process the contents of the learning material while being an active learner.
Pre-test - This will measure your prior knowledge and the concepts
to be mastered throughout the lesson.
Recap - This section will measure what learnings and skills that
you understand from the previous lesson.
Lesson- This section will discuss the topic for this module.
Post-test - This will measure how much you have learned from the
entire module. Ito po ang parts ng module.
EXPECTATION
PRE–TEST
Instructions: Identify the following and select the letter that corresponds to
the correct answer.
2. Attributes that specifies the number intervals for the value in the input field.
3. Attributes that specifies that the input field should automatically get focus
on the specified input field.
5. Attributes that specifies that an input field must be filled out by the user
before submitting the form.
Give at least five input types and describe the use of each input types in one
sentence in your own words.
LESSON
<option> elements - specifies an option that can be selected (by default, the
first item in the drop-down list is selected). You can choose a pre-selected option,
just add the selected attribute to the option:
Example: Output:
<textarea> element - specifies a multi-line input field. Under this element
there is a rows attribute that specifies the visible number of lines in a text area and
a cols attribute that specifies the visible width of a text area.
Example: Output:
The users will see a drop-down list of the pre-defined options as they enter
data. The list attribute of the <input> element, refers to the id attribute of the
<datalist> element.
Example:
Output:
The value attribute - defines as the initial value for an input field.
Example: Output:
The readonly attribute - specifies that the input field is read only. It specifies
that the data in is cannot be changed.
The disabled attribute - specifies that the input field is disabled. It is like
readonly attributes but the difference is it is unusable and un-clickable, and its
value will not be sent when submitting the form.
Example: <input type="text" name="name" value="Joy" disabled>
(to see what happen try it with your pc)
The size attribute - specifies the size of text or character for the input field.
input field. It will not accept more than the allowed number of text or
characters.
The height and width attributes - specify the height and width of an <input
type="image"> element.
The required attribute - specifies that an input field must be filled out by the
user before submitting the form. It works with the input type text, search, url,
email, password, date pickers, number, checkbox, radio, and file.
Example: (to see what happen try it with your pc) <form>
Username: <input type="text" name="uname" required>
<input type="submit">
</form>
The step attribute - specifies the number intervals for the value in the input
field. It works with the input type number, range, date, datetime-local, month, time
and week. (the value will be validating when submitting the form>
Rubrics:
Needs work Developing Meets Standard Score
Information is not e Some of All information’s are
appropriatto the ct. information is not appropriate to the
Content proje appropriate to the project.
project.
10 15 20
10 15 20
Total /50
*Answer the Worksheet number 8 and submit a soft copy/hard copy of your
completed activity to your subject teacher on the following meeting.
WRAP–UP
This lesson you have understood that the HTML form elements and attributes
are used to create a form and give it a proper look in a structured way.
Each element and attributes have its own specific task and used in the HMTL
form. Now summarize the uses of each elements and attributes discussed by this
module.
___________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
VALUING
Instructions: Read and answer the following questions carefully in two to three
sentences each number.
1. What do you think are the importance of knowing HTML Forms elements and
attributes?
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
2. How will you use the knowledge you acquired about in this module?
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
REFERENCES
• Accessed July 6, 2020 12:00Am https://www.w3schools.com
• Accessed July 6, 2020 12:30Am https://www.tutorialrepublic.com