Lesson For Blended Learning
Lesson For Blended Learning
Lesson Objectives:
At the end of the lesson, students will be able to:
a) Understand the basic structure of an HTML document
b) Write simple HTML code to create a web page with text and images
c) Use basic HTML tags to format text and create links
What is HTML?
HTML stands for Hypertext Markup Language.
It is a markup language used to create web pages and is the foundation of the World Wide Web.
HTML allows developers to structure content, add multimedia elements, and create links
between pages.
HTML Tags
HTML tags are the building blocks of a web page. They are used to define the structure and content of a
page, and they can be used to add formatting and other features to the page. HTML tags are enclosed in
angle brackets (<>) and usually come in pairs, with a start tag and an end tag. The start tag begins with
the name of the tag and any attributes, and the end tag begins with a slash (/) followed by the tag name.
HTML ATTRIBUTES:
HTML attributes are used to provide additional information about an HTML element. Attributes are
included in the start tag and are specified as name-value pairs. Here are some examples of HTML
attributes:
• src - Specifies the source URL of an image or other media element.
• href - Specifies the URL of a hyperlink.
• alt - Specifies alternative text for an image.
• style - Specifies inline styles for an element.
• class - Specifies one or more CSS classes to apply to an element.
• id - Specifies a unique identifier for an element.
ELEMENT is everything between the start and the end tag, including the tags.
TAGS are basic units of building blocks of an HTML file.
- They control how HTML does its structuring, layout and formatting
ATTRIBUTES - Used to provide additional information about a tag
EMPTY ELEMENTS are HTML elements/tags with no content
Example:
<br>
<hr>
<img>
FONT <font></font>
Sample Table:
<!DOCTYPE html>
<html>
<head><title>My table</title></head>
<body>
<h1 align=“center”>IT LEARNING</h1>
<table border=“1” bordercolor=“#ff0000”>
<tr bgcolor=“#ff0000”>
</tr>
<tr>
<th align=“center” width=“200px”>BOOKS</th>
<th align=“center” width=“200px”>SOFTWARE</th>
<th align=“center” width=“200px”>HARDWARE</th>\
</tr>
<tr>
<td align=“center”> Creative Design</td>
<td align=“center”> Adobe</td>
<td align=“center”> Asus Notebook</td>
</tr>
<tr>
<td align=“center”> Office Productivity</td>
<td align=“center”>Microsoft</td>
<td align=“center”> InFocus Projector</td>
</tr>
</table></body></html>
<Table></Table> Attributes
Name: _______________________________________________ Section: __________________
EXERCISE #4:
Examine and analyze the webpage below, write down the possible HTML tags inside the box. Use the
sample code as your guide.
Some Details:
Picture #1: Ghibli Studio Logo – D:\ghibli.png
Picture #2: Spirited Away – D:\spiritedaway.jpg
Picture #3: My Neighbor Totoro – D:\totoro.jpg
Write your Code here (Use the back of this paper to continue):