Documentos de Académico
Documentos de Profesional
Documentos de Cultura
DESIGN
Create a new folder in your H:Drive within your IST folder called Website
Development.
Within this folder create a tutorials folder to save the files created
in this booklet.
We will be using Notepad++ to code our websites.
Browser
Cookie
Firewall
HTML
HTTP
Internet
Intranet
Packet
Protocol
Search Engine
URL
WHAT IS HTML?
HTML is short for ___________________________________. It is a method for telling a web
browser (E.g. ________________________________________________) how to display
text, image, video, animation, audio and other multimedia content.
E.g. A journalist and his/her boss-the editor. The journalist writes a story and the editor uses
a red pen and "marks up" all the text that needs attention. For example, a circle might be
drawn around a word with "i" (for "italics") noted in the margin. The journalist receives the
story back and can make sense of the editor's notes, because in the publishing world there
is a set of rules for such text editing.
HTML works this way. Web page content is placed in a text document and then "marked up"
with special codes or tags. A web browser like a journalist interprets the codes and knows
how to format and display the page content.
Where an editor might use a red pen, HTML uses a set of angle-brackets <>. Anything inside
the angle-brackets is interpreted as HTML markup code. Anything outside is text content. A
web browser will only show the content and the effect of the markup code, but not the
code itself.
E.g. <p>This is a <strong>very</strong> important statement!</p>
WHAT IS CSS?
CSS is short for ___________________________________.
CSS is an extension of HTML that specifies how web page elements should be styled and
positioned.
NAMING CONVENTIONS
If the page is to be the home page for the website, then set the file name as index.html.
Pages should be named unambiguously to represent the information on the web page.
SAVING CONVENTIONS
All files associated with a website should be located in ONE folder. It is appropriate to also
place within this folder, subfolders for images and video/audio content.
Storyboards
An annotated PLANNED design of EACH page BEFORE the page is made.
CLEARLY expresses content, placement of multimedia elements (images, videos, buttons)
and colour. Remember consistency is key.
Media elements are represented as:
e.g.
Storyboard Task
Mr Krust has asked your IST class to design a new Carlingford High School Website.
Create a Storyboard to present to him. Insert your storyboard below.
<!DOCTYPE html>
Specifies to the browser that the language it should expect is HTML
<HTML> </HTML>
The beginning and end of the document
Tells the browser that everything in between is HTML
<HEAD> </HEAD>
Directly after the HTML tags
Adds descriptions to the webpage these are not shown in the browser window
Contains meta tags and title tags
<TITLE></TITLE>
This is the page heading this is still not text on the actual webpage.
<BODY></BODY>
The visible content that makes up your webpage.
Includes: paragraphs, lists, tables and videos/images.
Tags are placed below the head tags, yet still within the HTML.
WEBSITE TASK #1
Create a Basic Template with the TAGS outlined above. Save your file as template.html in
the Website Development folder you created. Paste your code below.
WEBSITE TASK #2
Copy your as template.html code and save it as commontags.html in the Website
Development folder you created. Add 10 paragraphs of text (lorem ipsum); each with a
subheading, at least 2 breaks, and the 6 different heading tags (h1 to h6) used appropriately
to represent text on a webpage. Add bold, italic and strong features to the text at random.
Paste your code below as well as a screen shot of your code.
WEBSITE TASK #3
Add comments to your commontags.html webpage. Paste your code below.
<Meta Tags>
Data about data and the webpage.
Located in the header tags.
Can include information about the
author, type of editor used, description
of the content, relevant keywords and copyright information.
WEBSITE TASK #4
Add at least these 4 metatags to your commontags.html webpage. Paste your code below.
(any other page you create will also need these tags added)
Adding links
The <a></a> tag is used to define hyperlinks.
Joining pages:
To add a second page to your website it is important that they are located in the same
folder. Also ensure you are not working off a USB device.
commontags.html
addinglinks.html
Adding Images
The <img src> tag is used to add images. There is no pair/end tag.
<img src="imagename.filetype" alt="text that views if the image
doesnt" height="number in pixels" width="#px">
imagename.filetype can also be defined as a URL
WEBSITE TASK #6
Download at least 2 images and create an images folder within your tutorials folder. Save
them with logical names. Add these images to your addinglinks.html and commontags.html
webpages. Add an image via URL also to these pages. Comment your code thoroughly. Paste
your code and screenshots below.
<a name=givemeaname>texttosee</a>
LINKING TO AN ANCHOR
<a href=#givemeaname>Textforclicking</a>
WEBSITE TASK #7
In your commontags.html web page, add a list to the top of
all the paragraph sub headings you used. Create anchors for
each paragraph and links to these anchors in the subheading
list. Paste your code and screenshots below.
Lists
1. There
2. are
3. ordered
All lists are opened and closed with <ol> or <ul> tags.
Every item within that list needs its own <li></li> tag.
4. <ol></ol>
and
unordered
lists
<ul></ul>
WEBSITE TASK #8
Add both ordered and unordered lists to your webpages. Comment your code thoroughly
and paste your code and screenshot here.
DIVS
Webpages are better formatted and designed with divisions (divs). Divs also allow for block
markups. Divs are named intrinsically. It is standard to use a container to hold the other divs.
HTMLS adds several new structural elements to reduce the use of nonsemantic <div> tags
when marking up common blocks of content on the page such as sections, articles, sidebars,
headers, footers and navigation.
WEBSITE TASK #9
Download and open the Divs file from Moodle and rename it YourNameSampleDIVS.html.
Follow the modifications below.
1. Make all sections shades of red and yellow.
2. In the header, place the text YOURNAMEs First Div Website in h2 tag.
3. In the menu, place the words: Google, CHS and Wikipedia - turn the words to be in Arial
font and each to be a different colour. link them to the relevant sites.
4. In the footer put your name in bold and italics
http://www.w3schools.com/html/html_formatting.asp
5. Move the menu to the right.
6. Research divs and their advantages and disadvantages. Summarise the content and
place this information in the content div.
7. Place a RELEVENT image into the bottom of the content div and centre it.
8. Comment your code thoroughly and paste your code and screenshot on the next
page.
DIVS
Activities
Creating a poem with paragraph:
Open the file poem.txt. Copy and paste the text into your template. Add appropriate
paragraph and line break elements to format the poem exactly as shown below.
Remember to give the web page a title and test it in a browser when you have
completed it.
Adding extra spaces: Type at any point of your document where you need a space.
E.g. <p>Let's create SPACE in this world.</p>
Preformatted text: The preformatted text tag <pre> allows you to add content and retain
all spaces and returns without the need to use or <br> etc to force formatting. This
can be useful for displaying programming code or perhaps a visually formatted poem.
For example:
Creating Tables
Create a tables file with at least 6 columns with headings and at least 5 rows.
Open the file population.html. Remove the border="1" attribute. Style the table
using CSS so that it looks like the example on the right. Try changing the border
attribute to border-top to get just horizontal rules. Experiment with a range of CSS
styles (also search the web) to see what other effects you can do to style tables.