Computer-Programming HTML Shelaine Paciente-Las Q3 M2.1
Computer-Programming HTML Shelaine Paciente-Las Q3 M2.1
11/
DIVISION OF SAN JOSE DEL MONTE CITY
San Ignacio St., Poblacion, City of San Jose del Monte 3023
12
LEARNING
ACTIVITY SHEETS
(LAS)
Technical-Vocational-Livelihood
COMPUTER PROGRAMMING
Quarter 3 – Module : 2.1
Create HTML5 document using advanced
techniques with JavaScript and CSS3
(TLE_ICTP.NET 11-12PPHJC-IIj-IIIa-d-30)
Pretest
Directions: Choose the letter of the right answer. Write the letter of the correct answer on a
separate sheet of paper.
II. Choose the correct tag in the box to complete the code.
a. >
8. <br> <em>This text is Emphasized/em>
b. <
9. <font color=“cyan" size "2" face="Arial Black"> HTML </font>
c. =
10. <head><title> fonts<title></head> e
d. “
11. <bdy bgcolor=“Green” > f
e. /
12. <p style=text-align: right"> d
f. O
13. <br> <ttThis text is Teletype</t> a
g. t
14. <body bgcolor = "lighgreen"> g
h. e
15. <font siz="6" face="Arial"> h
Objectives
This module will help you to:
Key Concepts
HTML
AN INTRODUCTION TO WEB PAGE PROGRAMMING
Line Break & Horizontal Line Tag
• If you want a line break or a new line without starting a new paragraph, use the <br> tag.
• Defines a horizontal line use <hr> tag.
<br> <hr> elements are empty HTML element.
EXAMPLE #1:
<HTML>
<HEAD>
<TITLE>
Line Break & Horizontal Line Tag
</TITLE>
</HEAD>
<BODY>
SAN JOSE DEL MONTE NATIONAL HIGH SCHOOL <hr>
<br> Brgy. Yakal, Francisco Homes, City of San Jose Del Monte, Bulacan
</BODY>
</HTML>
OUTPUT:
Text Formatting Tags
<b> Defines bold text
<big> Defines big text
<em> Defines emphasized text
<i> Defines italic text
<small> Defines small text
<strong> Defines strong text
<sub> Defines subscripted text
<super> Defines superscripted text
<ins> Defines inserted text
<del> Defines deleted text
<tt> Defines teletype text
<u> Defines underline text
<strike> Defines strike text
EXAMPLE #2:
<html>
<head></head>
<body>
<b>This text is Bold</b>
<br> <em>This text is Emphasized</em>
<br> <i>This text is Italic</i>
<br> <small>This text is Small</small>
<br> This is <sub> Subscript</sub> and <sup> Superscript</sup>
<br> <strong>This text is Strong</strong>
<br> <big>This text is Big</big>
<br> <u>This text is Underline</u>
<br> <strike>This text is Strike</strike>
<br> <tt>This text is Teletype</tt>
</body>
</html>
OUTPUT:
Font Tag
• This element is used to format the size, typeface, and color of the enclosed text.
• The commonly used fonts for web pages are Arial, Comic Sans MS, Lucida Sans Unicode,
Arial Black, Courier New, Times New Roman, Arial Narrow, Impact, Verdana.
• The size attribute in font tag takes values from 1 to 7.
EXAMPLE #3:
<html>
<head><title> fonts</title></head>
<body>
<br><font color= “green" size="7" face="Arial"> HTML </font>
<br><font color= “red" size="6" face="Comic Sans MS "> HTML </font>
<br><font color= “blue" size="5" face="Lucida Sans Unicode"> HTML </font>
<br><font color= “black" size="4" face="Courier New">HTML</font>
<br><font color= “magenta" size="3" face="Times New Roman"> HTML </font>
<br><font color= “cyan" size="2" face="Arial Black"> HTML </font>
<br><font color= “pink" size="1" face="Impact"> HTML </font>
</body>
</html>
OUTPUT:
OUTPUT:
The following example shows center aligned, and left and right aligned text (left alignment is
default if text direction is left-to-right, and right alignment is default if text direction is right-to-
left):
OUTPUT:
Activity 1
Direction: Using the HTML editor and example #1, run a program that will show the following
result: (10pts)
NOTE: All outputs should print on short bond paper together with the code.
Activity 2
Direction: Using the HTML editor and example #2 and #3, run a program that will show the
following result: (10pts)
NOTE: All outputs should print on short bond paper together with the code.
Activity 3
Direction: Using the HTML editor and example #4 and #5, run a program that will show the
following result: (10pts)
Nsns
YOUR FULLNAME HERE_ M2.1act1 (ex. PACIENTE_SHELAINE_R_ M2.1act1)
NOTE: All outputs should print on short bond paper together with the code.
Posttest
Direction: Supply the missing code to run the program properly.
1. <p =” About HTML”>HTML is a mark-up language</p>
2. Use the correct HTML tag to add a heading with the text "London”. _______ uses
markup tags to describe web pages.
<p>London is the capital city of England. It is the most populous city in the United
Kingdom, with a metropolitan area of over 13 million inhabitants. </p>
<h1>London</h1>
3. Add six headings to the document with the text "ICT". (6 points)
<html>
<body>
</html>
</body>
<h1>London</h1>
<p>London is the capital city of England. It is the most populous city in the United
Kingdom, with a metropolitan area of over 13 million inhabitants. </p>
h 15.
g 14.
a 13.
d 12.
f 11.
e 10.
c 9.
b 8.
c 7.
b 6.
a 5.
b 4.
c 3.
a 2.
c 1.
References
"Html." Share and Discover Knowledge on SlideShare. Accessed April 26, 2021.
https://www2.slideshare.net/NandakumarGanapathy/html-49983100?from_action=save.
Prepared by:
Checked by:
Noted by:
REMINDERS
5. Give clear direction so that learners can comprehend and answer the activities or assessment
accordingly.