Professional Documents
Culture Documents
5t
https://www.lifewire.com/free-typing-lessons-1356656
Expected Outcomes
At the end of the lesson, the learners should be able to:
1. Explain the use of format tag.
2. Apply the different kinds of formatting tags.
Questions to Ponder
Are you interested creating or designing a webpage, but you are not sure
where to start? Most programmers say that being familiar with HTML and the
different formatting tags are steppingstones for those who are interested in web
designing. In this module, you will discover the different kinds of formatting tags
and how to utilize them in creating a web page that can be shown in any browser
across the network.
Grade 6- Computer 23
Module 4– Formatting Text in HTML
Formatting Text
HTML contains several elements for defining text with a special meaning.
Text appearance and other details can be changed and added with each new
version of HTML.
Gradually more appearance or formatting tags have been added to control
appearance, but there is still difference on how they appear in different browsers.
These are also Font tags that contain appropriate attributes that control the
different ways of changing and formatting text.
There are two types of HTML tags:
1. Physical tags- These tags provide a visual appeal to the document. For
example, bold, italic, underlined, etc.
Grade 6- Computer 24
Module 4– Formatting Text in HTML
2. Logical tags- These tags provide a logical meaning to the text. For
example, the <strong> tag.
HTML Highlight
Highlighting text on a web page helps to draw the reader's attention to
crucial information. In HTML, the <mark> element is used to mark or highlight
the text.
For example,
<html>
<head>
<title>DataFlair</title>
</head>
<body>
<p><mark>Welcome to DataFlair!</mark></p>
</body>
</html>
Example:
<head>
<title>Relative Font Size</title>
</head>
<body>
<font size = "-1">Font size = "-1"</font><br />
<font size = "+1">Font size = "+1"</font><br />
<font size = "+2">Font size = "+2"</font><br />
<font size = "+3">Font size = "+3"</font><br />
<font size = "+4">Font size = "+4"</font>
</body>
</html>
Grade 6- Computer 26
Module 4– Formatting Text in HTML
<head>
<title>Font Face</title>
</head>
<body>
<font face = "Times New Roman" size = "5">Times New
Roman</font><br />
<font face = "Verdana" size = "5">Verdana</font><br />
<font face = "Comic sans MS" size =" 5">Comic Sans
MS</font><br />
<font face = "WildWest" size = "5">WildWest</font><br />
<font face = "Bedrock" size = "5">Bedrock</font><br />
</body>
</html>
Grade 6- Computer 27
Module 4– Formatting Text in HTML
Comic Sans MS
WildWest
Bedrock
Colors are
given in
the sRGB color
space as
hexadecimal
numbers
(e.g.
COLOR="#C0FFC0"), or
as one of 16 widely understood
color names. These colors
were originally picked as being
the standard 16 colors
supported with the Windows
VGA palette.
Grade 6- Computer 28
Module 4– Formatting Text in HTML
Grade 6- Computer 29