Table and Hyperlink Tag
Table and Hyperlink Tag
TABLE TAG
Objectives: INSERTING TABLE
Use the attributes for a table and
a row;
design a web page with a table;
define hyperlink;
develop a website with hyperlinks.
LET’S EXPLORE!
Differentiate these two pictures according to
your observation.
While coding forms the backbone of web development, having a creative flair and
design sensibility can elevate the aesthetic appeal and user experience of websites
and applications. A good developer should possess a keen eye for design and strive
to create visually appealing and intuitive interfaces. In addition, web developer
should maintain a clean and organized coding environment by adopting consistent
coding conventions, documenting their code effectively, and utilizing tools like
linters and code formatters to ensure code readability and maintainability.
Most of the beginners, they use table in HTML to help them organize the layout of
their web page, to understand more about the table, let us know what and how to
use the table tags.
LET’S PRACTICE
Instructions: Rearrange the jumbled tags/codes below to get the expected output. Write
the correct coding on the space provided.
EXPECTED OUTPUT
LET’S TRY
HANDS-ON ACTIVITY: Create a webpage that shows 7 columns and 2 rows that shows
your Weekly Plan from Monday to Sunday. Follow the layout below:
Use the correct and proper table tags and attributes. Apply a border style (10 pts.)
Use table heading tag for the 1st row. (2 pts.)
Apply any background color for 2nd row. (4 pts.)
Apply font styles on the texts. (2 pts.)
Place the table at the center of the webpage. (1 pt.)
Save the file as: Surname_TableTag.html (1 pt.)
OUTPUT CODES
LET’S TEST!
I. Instructions: Explain clearly your answer about table tags and its attributes.
1. Why do you need to use Table tag in a website?
2. What will happen to your table if you forgot to close the table row tag?
II. Instructions: Read carefully the question and choose the correct answer.
3. What is the attribute to change the background color for table row?
a. <tr background=”red”></tr>
b. <tr style=”background: red”> </tr>
c. <tr bgcolor=”red”></tr>
5. Based on the given codes below, what do you think is the expected output?
<table>
<tr><td>Good</td><td>Better</td><td>Best</td></tr>
</table>
a. GOOD BETTER BEST
HYPERLINK TAG
Objectives: INSERTING
Use the attributes for a table and HYPERLINK
a row;
design a web page with a table;
define hyperlink;
develop a website with hyperlinks.
A hypertext document contains element called links that allow users to click their
mouse button on a particular part of the screen and performs some actions.
Hypertext Reference
It identifies the pointer or the pathway to the target of the link which is the URL (Uniform
Resource Locator)
ATTRIBUTES OF HYPERLINK
Each attribute of hyperlink will work only inside the <body> Tag.
NAME DEFINITION EXAMPLE
This a page where the
STANDARD
visitor hasn’t been to yet <body link=”green”>
LINK
(standard color is blue).
This is a page where the
VISITED LINK visitor has been to before <body link=”green” vlink=”yellow”>
(standard color is purple).
The color of the link
<body link=”green” vlink=”yellow”
ACTIVE LINK when the mouse is on it
alink=”orange”>
(standard color is red).
CODES:
1. __________
2. <title>_______ Hyperlink</title>
3. <body __________="orange" link="_________">
4. <H1>WELCOME TO MY PAGE_______ emsp;  
5. <a href="Home.html">_________</a>   
6. <a href="Services.html">SERVICES______   
7. <a href="ContactUs________">CONTACT US</a>
8. _______
9. </html>
LET’S TRY!
HANDS-ON ACTIVITY: Create a simple yet creative website that shows the links in a blog.
Use also a table tag to organize the layout of the website. Follow the format below: