Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Classroom Exercises
Introduction
This classroom exercise provides guidance on completing the first assessment for
this module of creating a website for a company. The requirements are to develop a
mini website for a company based on the company’s background and requirements.
In this case the company is the ‘Fizzy Bubbles’ case study you are studying as part
of the assessment for another module. You are to create a minimum of a five to ten
page website where pages are based around the following:
• ‘Home’ webpage which is the first webpage a visitor of the website will see.
This will give an overview of the company.
• ‘About us’ webpage giving more background details on the company and
owners.
• ‘Our brands’ webpage giving an overview of the products the company sells
both current and future.
• ‘Corporate Social Responsibility’ webpage giving an overview of the
companies ethical and core values.
• ‘Contact us’ webpage giving an address, telephone and email address of who
to contact with regards to products (e.g. customer queries/complaints), sales
and website. These will fictitious where you are to use made up details. They
should be realistic in terms of what you would normally find on a company’s
‘Contact us’ webpage.
• ‘Accessibility’ webpage detailing what accessibility features the website has,
e.g. accesskeys for important navigation links and Javascript for changing font
size and colours.
• ‘Site map’ webpage containing links to all of the webpages on your website.
The content for each of these webpages in the form of text will either be obtained
from the case study text, derivable from the case study text or you will have to ask
the clients for more information. The clients in this case are the tutors.
1
1. Find out about the company.
3. Plan out the website in terms of the webpages and how they will be ‘linked’.
Once you have a list of items think about how they will become webpages and how
they will link together. There must be a link to all of the webpages in order for a
browser to be able to access every webpage on the website. Without a link, the
webpage would be effectively inaccessible unless a browser knew the direct URL to
the webpage.
2
The lines represent the connection between webpages where the ‘Home’ page
would have links to the main items on the university webpage. On clicking on one of
those links, a browser would get the webpage on that main item with further links to
related topics. For example, the ‘Course’ webpage would have links to the main
types of course run by the university, undergraduate and post graduate courses.
Website diagrams like this can be created in most drawing packages where the
above diagram was created in Microsoft Visio. Alternatively, you may want to sketch
the website design using pen and paper. This is acceptable as long as the sketch is
legible where you are to include it in your final report.
You can link between webpages at the same level, e.g. there may be links from the
undergraduate and postgraduate webpages to the full-time and part-time study
pages but you do not have to display all of the links on all of the webpages on the
website design diagram. You do need to show that there is at least a link from one
webpage to another and that all webpages are reachable from the ‘Home’ webpage.
You may sketch the webpage design with pen and paper showing the main divisions
of the webpage where an example is shown below. The level of detail you show in
the webpage design is up to you where at a minimum you should show where the
elements of the webpage are located, e.g. headers and/or footers in any, navigation
bar, etc.
With regards to the layout, it is up to you as to the sizes, positions, formatting, etc. of
the divisions. For example, you can have the navigation bar on the left of the
webpage which is common on the majority of websites. You may have the
3
navigation on the right of the webpage. You could have the navigation horizontally
just below the header. Below is an example sketch of a design using a website
design package called Denim (http://dub.washington.edu:2007/denim/).
Below are some useful links to websites that show, describe or for inspiration in your
own designs:
4
Online image editors
These are image editors much like Adobe Photoshop although not as sophisticated
and are available through a web browser.
http://www.pixlr.com/app/
http://www.splashup.com/splashup/
http://aviary.com/tools/phoenix
Graphics
http://www.iconbuffet.com/freedelivery/packages - Free icons for websites. Website
also has a collection of icons for purchase.
http://www.buttongenerator.com/ - Creates images to use as buttons on webpages.
http://www.flickr.com - Free images.
http://www.freeimages.co.uk/ - Free images.
http://office.microsoft.com/en-gb/clipart/default.aspx - Free images
http://www.bgpatterns.com/ - Background patterns
Inspiration
http://logopond.com/ - Contains a variety of designs for ‘logos’ for websites.
http://csszengarden.com/ - Contains a variety of designs for webpages based on a
central theme. Useful website for finding out how to create certain effects in CSS.
http://thebestdesigns.com/
5
5. Create a template XHTML document based on the webpage design.
Once you have an overall layout for your webpages, create a templage
XHTML document with all of the XHTML tags required to start a webpage for
your website. At a minimum, use the XHTML template file that you have been
given as part of the classroom exercises, the xhtml-master-template.html file.
To this file, add the divisions you have identified in your design from the
previous step. For example, if you have designed your page to have a
header, navigation menu, main content area and footer, then you would add
the following between the <body> and </body> tags.
<body>
<div id=”header”>
<!-- Text to display at the top of the webpage goes here
-->
</div>
<div id=”nav_menu”>
<!-- List of links to main webpages on the website goes
here -->
</div>
<div id=”main_content”>
<!-- The text that describes the main item for this webpage
goes here -->
</div>
<div id=”footer”>
<!-- Text that is to appear at the bottom of the webpage
goes here, such as date of website and copyright message -->
</div>
</body>
The comments, the symbols <!-- and --> would be replaced with the text or images
or both that are specific to that webpage. For example, the ‘Home’ webpage would
have the text and/or images that is to be displayed on when the browser first
accesses the website.
If you are using the column based layout, then your divisions will be different where
see examples from the classroom exercises about using “wrapper” divisions to
markup a column based layout (week’s 4 and 5).
Once you have marked up the template XHTML document, then save it with a
meaningful name, e.g. webpage-master-template.html. Whenever you want to
create a webpage for your website, then you would load this file and save it with the
name of the webpage, e.g. the ‘Home’ webpage would be named index.html or
home.html.
6
• index.html
• courses.html
• undergraduate.html
• postgraduate.html
• students.html
• fulltime.html
• parttime.html
• finance.html
• fees.html
• bursaries.html
• news.html
• research.html
• about.html