LESSON 03 – HTML BASICS II

 

GROUP ACTIVITY GUIDE

 

TOPIC 1 – Lesson 3 Folder

 

 

TOPIC 2 – Bulleted Lists

 

 

<ul>

<li>Red

<li>Green

<li>Blue

</ul>

 

TOPIC 3 – Ordered Lists

 

 

TOPIC 4 – Opening Link In New Window

 

 

Example:

 

<a href="http://www.google.ca/" target="_blank">Google</a>

 

TOPIC 5 – Marquee

 

 

<marquee>I love Lockerby.  I love Mr. Campeau.</marquee>

 

Got extra time?

 

  • Try playing with the behavior attribute.  Set it to either scroll, slide or alternate.
  • Try playing with the direction attribute.  Set it to left, right, up or down.
  • Try playing with the scrollamount attribute.  Set it to an number such as 5.

 


TOPIC 6 – Tables

 

 

<table border=1>

<tr>

<td>Cell 1</td>

<td>Cell 2</td>

</tr>

<tr>

<td>Cell 3</td>

<td>Cell 4</td>

</tr>

</table>

 

 

Got extra time?

 

  • You can add the bgcolor attribute to a td tag to set the background colour of that specific cell.
  • You can use the width attribute in the td tag to specify the cell’s width.

 

TOPIC 7 – USING A MEDIA FOLDER

 

 

<img src="images/image.jpg">

 

 

<img src="../lesson1/image.jpg">

 

TOPIC 8 – GETTING READY FOR FRAMES

 

 

TOPIC 9 – FRAME SETUP

 

 

<html>

<head><title>Whatever you want.</title>

</head>

<frameset cols=”150,550”>

   <frame src=”menu.html”>

   <frame src=”index.html”>

</frameset>

</html>

 

 

TOPIC 10 – FRAME SETUP CUSTOMIZATION

 

 

Example: Create 3 columns:

 

<frameset cols="100,200,200">

 

The above tag creates 3 columns.  The first will be 100 pixels wide.  The other two will be 200 pixels wide.  If there are more pixels to give, then they will be given to the last column.

 

 

Example: Create 4 rows:

 

<frameset rows="100,100, 200, 200">

 

 

<frameset cols="25%, 75%">

 

TOPIC 11 – FRAME NAMES

 

 

Example

 

<frame src="index.html" name="right">

 

Example: Here is a link that is in menu.html.  Note that added target attribute.

 

            <a href="http://google.ca" target="right">GOOGLE</a>

 

TOPIC 12 – FRAMES IN BOTH DIRECTIONS