Professional Documents
Culture Documents
COMPUTER SCIENCE 1
Guided Learning Activity Kit
HTML Tags
Quarter 4 - Week 6
1|P age
Computer Science 1 – Grade 7
Guided Learning Activity Kit
HTML Tags
Quarter 4 - Week 6
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.
Introduction
List the websites that you recently browsed on the internet? Facebook,
YouTube, Google, Yahoo, Wikipedia, Lazada, or Shopee may be included in your list.
You may have learned that these sites are composed of so many web pages. How
are these digital networks of pages created? Would you like to design your webpage?
In this Guided Learning Activity Kit (GLAK), you will be able to create a
webpage using a simple text editor. You will explore different HTML tags needed in
coding your first web page.
Learning Competency
Objectives
Review
Directions: Briefly discuss the significant features of three internet browsers that you
learned in the previous GLAK.
1. _________________________________________________________________________
__________________________________________________
2. _________________________________________________________________________
__________________________________________________
3. _________________________________________________________________________
1|P age
__________________________________________________
Discussion
Webpages are created using professional HTML editors. However, you may
create your webpage using MS Word or even a simple text editor like Notepad. It
is good to learn HTML coding using Notepad. Follow the steps below for you to
create your first webpage using this simple text editor.
1. Coding your first webpage
Step 1. Open your Notepad application
2|P age
You may have noticed that the color is set to “medium blue”. This could
be replaced with colors you desire but make sure to know the accepted color codes
in HTML. For now, we used medium blue. In Line 3 and line 4, we set the texts
to be displayed on our webpage as “My First Webpage” and “Hello World!”. These
characters could also be a change in later activities.
Step 3. Save your code as shown below. Use File>Save As. Name the file as
“Myfirstwebpage.htm” and set Encoding to UTF-8 as prescribed by HTML.
Step 4. Go to the folder where you previously saved your file. You may notice
that the file is already in an HTML file or a webpage with the logo of your default
web browser.
Step 5. Open the file. The file will open in your default browser. In the example,
the created webpage opens in Google Chrome. Although the displayed page is
simple, you may begin to improve your webpage by learning more HTML tags
which will be discussed on the next page.
3|P age
2. Declaration, Heading, and Paragraph
As you can see in the code below, the first line declares the document type
using <!DOCTYPE> which helps the browser (eg. Chrome) to display this web page
correctly. After the declaration, the code will start with <html> and ends with
</html>. Then, the part which is displayed on the browser is between <body>
and </body>.
Copy the code in Notepad and repeat Step 3 and Step 4 on the previous page.
Save it as “Basic.htm”. Shown on the next page is the displayed output in your
browser.
4|P age
The HTML headings are defined using <h1> to <h6> tags. You may notice
that <h1> set the largest font size. The tag <h6> will give the smallest. The color
of the heading is also set to “RED” using "color: red". Shown below are the HTML
tags you already used.
HTML Tag Description
<html> Declares the root of an HTML document
<body> Defines the document's body
<h1> to <h6> Set the size of HTML headings
On page 4, you already learned how to code the paragraph of your webpage.
You may improve your paragraph setting by using the code below.
5|P age
The tag <pre> will set the browser to display the line breaks, spaces, and
font as shown below.
3. Text Style
Shown below are different HTML tags to set the text style on your
webpage.
HTML Tag Description
<b> Bold text
<strong> Important text
<i> Italic text
<em> Emphasized text
<mark> Marked text
<small> Smaller text
<del> Deleted text
<ins> Inserted text
<sub> Subscript text
<sup> Superscript text
A sample code is shown below in setting Bold text. The output on the
web page is also shown.
<!DOCTYPE class="attributecolor" style="color:red">
<html class="tagcolor" style="color:red"
<body class="tagcolor" style="color:red">
<b class="tagcolor" style="color:red">This text is bold</b
class="tagcolor" style="color:mediumblue">
</body class="tagcolor" style="color:red">
</html class="tagcolor" style="color:red">
6|P age
Activities
Guided Practice 1
Directions: Describe the following HTML tags below.
Tags Description
<del>
<body>
<pre>
<html>
<p>
<h1>
<b>
<h6>
<i>
<em>
Guided Practice 2
Directions: Create an HTML code in Notepad using the HTML tags below.
1. <i> 6. <sub>
2. <b> 7. <sup>
3. <em> 8. <ins>
4. <strong> 9. <del>
5. <small> 10. <mark>
Independent Practice
Directions: Write a three-paragraph summary of your learnings in this GLAK. Use
this as the content and create a webpage using Notepad. Put a heading/title. Utilize
as many HTML tags as possible.
7|P age
Assessment
Directions: Identify what is described below. Write the letter of your answer in
the space provided.
___ 1. The part of the webpage created using the tag <h>.
___ 4. A simple text editor that could be used in coding a webpage using HTML
tags.
___ 8. It will set the browser to display the line breaks, spaces, and font.
___ 10. The part of the webpage created using the tag <p>.
8|P age
Reflection
9|P age
References
10 | P a g e
11 | P a g e
Guided Practice 1 Assessment
1. deleted text 1. b
2. includes content displayed by the browser 2. f
3. will set the browser to display the line 3. i
breaks, spaces and font 4. a
4. declares the root of an HTML document 5. j
5. paragraph 6. e
6. largest text size 7. h
7. bold text 8. g
8. smallest text size 9. d
9. italic text 10. c
10. emphasized text
Reflection
Guide Practice 2 Answers may vary
Answers may vary.
Independent Practice
Answers may vary.
Key to Corrections
Acknowledgment
First, the Learning Resources (LR) Development Team composed of the writers
and graphic artists for devoting much of their time and exhausting their best efforts
to produce these indispensable learning kits used for the implementation of learning
delivery modalities.
Finally, the parents and other home learning facilitators for giving the learners
the needed guidance and support for them to possibly accomplish the tasks and for
gradually helping them become independent learners.
12 | P a g e
For inquiries of feedback, please write or call: