G11 Lesson 1 PART2 BASIC HTML
G11 Lesson 1 PART2 BASIC HTML
G11 Lesson 1 PART2 BASIC HTML
Companies build Web sites in order to promote their products and service. Other companies
build web site to automate the transaction with their clients through Internet.
</body>
</html>
HTML Formatting Elements
Using the tags below, you can have more control over how the text will display in web browser.
<p> I am Joana C. Dela Cruz, I was born on April 30, 2002 at Bolosan District,
Dagupan City. We are five siblings in the family. I am the eldest daughter of Mr.
Benjamin V. Dela Cruz and Mrs. Adelfa B. Dela Cruz. My parents are both from Urdaneta City.
I took my elementary education at Judge Jose De Venecia Elementary School located
at Dagupan City. My dream is to become a web developer. I am presently enrolled in SHS Grade 11 major
in ICT Programming at Mangaldan National High School.</p>
</body>
</html>
Output should look like this.
Name: _________________ Grade: ___________ Section: _________ Date: _________
Activity # 1
Create a Web page with file name “activityOne.html”. It must be displayed as exactly as the output below.
HTML Attributes
An HTML attribute provides additional information about an HTML element.
Attributes modify or add meaning to an HTML element. In general, an attribute is a characteristic
of a page element, such as font size or color. When a Web browser interprets an HTML tag, it will also look for
its attributes so that it can display the desired Web page's elements properly.
Example
<body style="background-color:blue;">
</body>
HTML Style Attributes
Syntax
<tag style="property:value;">Some content...</tag>
Example
<body style="background-color:blue;">
Example
<body style="background-color:blue;">
</body>
HTML Images
Syntax
<img src=“image.jpeg”>
Example
Exercise 2
Filename: exercise2.html
<!DOCTYPE html>
<html>
<head>
<title>
My Autobiography
</title>
</head>
<body>
<h1 style="color:green; text-align:center">My Autobiography</h1>
<em>Joana B. Dela Cruz</em>
<p> I am <b>Joana C. Dela Cruz</b>, I was born on April 30, 2002 at Bolosan District,
Dagupan City. We are five siblings in the family. I am the eldest daughter of <b><i>Mr.
Benjamin V. Dela Cruz</i></b> and <b><i>Mrs. Adelfa B. Dela Cruz</i></b>. My parents are both from Urdaneta City.
I took my elementary education at Judge Jose De Venecia Elementary School located
at Dagupan City. My dream is to become a <b>web developer</b>. I am presently enrolled in SHS Grade 11 major
in ICT Programming at Mangaldan National High School.</p>
</body>
</html>
Exercise 3
Filename: exercise2.html
<!DOCTYPE html>
<html>
<head>
<title>
My Autobiography
</title>
</head>
<body style=“background-color:yellow; text-align:justify”>
<h1 style="color:green; text-align:center">My Autobiography</h1>
<em>Joana B. Dela Cruz</em>
<p> I am <b>Joana C. Dela Cruz</b>, I was born on April 30, 2002 at Bolosan District,
Dagupan City. We are five siblings in the family. I am the eldest daughter of <b><i>Mr.
Benjamin V. Dela Cruz</i></b> and <b><i>Mrs. Adelfa B. Dela Cruz</i></b>. My parents are both from Urdaneta City.
I took my elementary education at Judge Jose De Venecia Elementary School located
at Dagupan City. My dream is to become a <b>web developer</b>. I am presently enrolled in SHS Grade 11 major
in ICT Programming at Mangaldan National High School.</p>
</body>
</html>
Name: _________________ Grade: ___________ Section: _________ Date: _________
Activity # 2
Create a Web page with file name “activityTwo.html”. Follow the specified format below.
1. HTML Hyperlink, internal and external
2. List Ordered and Unordered List
3. Tables
4. HTML Forms
5. Canvass
6. Media