ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf
ITECH2106-6106
Webpage & Multimedia Design
CRICOS Provider No. 00103D ITECH2106-6106 Lab01 Page 1 of 11
Lab Week 1
HTML & CSS Introduction
Overview
This week’s lab exercises:
Refresh your memory developing a webpage using HTML & CSS; •
Employ <div> tags to structure a webpage; •
Begin using HTML5 semantic structural tags; •
Begin Assignment 1 by starting on the Needs Analysis. •
NOTE: If you copy and paste code from any source, make sure the quotations marks paste correctly, sometimes you may
get the wrong shaped quotation marks such as angled ones “ instead of straight ones "and the browser cannot read
them. Also note, most of this code is images and cannot be copied and pasted!
Exercise 1: Refresher
Remember in “ITECH1004/5004: Introduction to Multimedia”, you had
to create a basic website for your final assignment? Well, let’s recreate
a webpage similar to the sample provided of the homepage (shown to
the right).
ITECH1004 students were allowed to develop their website using
HTML tables, so this is where this exercise will start. In this exercise,
you will hand-code everything directly via the markup code using a text
editor, rather than use a visual editor like Adobe Dreamweaver. This
way you can be sure the code is exactly what you want, and you will
are more likely to learn the code by typing it.
Open NotePad++ and start a New file •
Start with the basic HTML tags to format a page (as shown below), •
and then open the save as file menu. Click the drop-down menu and select an .html file type. Name your file
wk1ex1.html
Sample Home Page
ITECH2106-6106
Webpage & Multimedia Design
CRICOS Provider No. 00103D ITECH2106-6106 Lab01 Page 2 of 11
After saving as an html file type, you will notice notepad++ has colour coded the text for you to distinguish tags from •
content (and also attributes and values as you will see soon). Now to add some content.
Place a heading in the body: •
<h1>Home page</h1>
After the heading you need to create a table <table>. The sample had one table row <tr> and two columns of •
table data <td>.
For now just enter it as below, keeping the indentations as it makes it easier to see where tags open and close. •
Save your HTML file. •
Now for a small trick that will make it easy to track your progress when building webpages. •
Open your wk1ex1.html in Google Chrome. •
o This browser is going to be your go-to browser this semester to view your HTML files.
o Why this browser? It has the best support for the latest HTML5 and CSS3 features. In comparison,
Microsoft Internet Explorer is so far behind, even Microsoft have abandoned it in Windows 10.
Now the simple trick: •
o Place your NotePad++ window on the left of your screen using the hotkey combination “WIN key + Left
Arrow key”.
o Place Google Chrome on the right half of the screen using “WIN key + Right Arrow key”.
o Now.