Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
An introduction to HTML
Recall that LATEX is referred to as a mark-up language
LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
Recall that LATEX is referred to as a mark-up language LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
Recall that LATEX is referred to as a mark-up language LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
What is HTML
HTML stands for lsquoHyperText Markup Languagersquo
It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages
It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings
and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Recall that LATEX is referred to as a mark-up language
LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
Recall that LATEX is referred to as a mark-up language LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
Recall that LATEX is referred to as a mark-up language LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
What is HTML
HTML stands for lsquoHyperText Markup Languagersquo
It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages
It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings
and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Recall that LATEX is referred to as a mark-up language LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
Recall that LATEX is referred to as a mark-up language LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
What is HTML
HTML stands for lsquoHyperText Markup Languagersquo
It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages
It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings
and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Recall that LATEX is referred to as a mark-up language LATEXcommands annotate text to make it display in specified ways
HTML is another mark-up language
What is HTML
HTML stands for lsquoHyperText Markup Languagersquo
It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages
It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings
and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
What is HTML
HTML stands for lsquoHyperText Markup Languagersquo
It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages
It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings
and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
HTML stands for lsquoHyperText Markup Languagersquo
It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages
It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings
and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages
It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings
and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings
and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
HTML stands for lsquoHyperText Markup Languagersquo It is usedmainly for creating webpages It allows easy formatting ofparagraphs and headings and also commands specificallydesigned for webpages (hyperlinks etc)
As with LATEX HTML files are really just annotated text files
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml
you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair
(ltpgt and ltpgt forexample)
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here is a minimal HTML file
lthtmlgt
ltbodygt
ltpgtHello I am a webpageltpgt
ltbodygt
lthtmlgt
By copying and pasting this into Notepad (or any other texteditor) and saving it as indexhtml you will create a basicwebpage which will open in a web-browser
Notice the similarities to LATEXrsquos environments with each tagcoming in an opening and closing pair (ltpgt and ltpgt forexample)
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
The material to be displayed is put between the ltbodygt andltbodygt tags
(This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
The material to be displayed is put between the ltbodygt andltbodygt tags (This part is called the body of the document)
Paragraphs are built up using the ltpgt and ltpgt tags
Headings come in 6 different weightings and are made usingthe tags lth1gt to lth6gt (lth1gt being the largest)
Most content on a webpage is built up using these basic tags
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Folders and filepaths
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages
You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say
Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you have created a webpage called indexhtml andsaved it in a folder called webpages You may want to includean image on your page called logojpg say Start by savingthis in the webpages folder
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
You can then include the image on your page with thecommand
ltimg src=logojpggt
(Note that the this tag is unusual in that it doesnrsquot come in apair)
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder
move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file
then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose you decide yoursquod rather keep the images in asubfolder of webpages called images to reduce clutter
All you need to do is create the folder move the logojpg
file then update your HTML to read
ltimg src=imageslogojpggt
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here imageslogojpg is called the URL (uniform resourcelocator) of the image
More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image
as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Here imageslogojpg is called the URL (uniform resourcelocator) of the image More precisely this is the relative URLof the image as it tells the computer how to find the imagestarting from the folder in which the page itself sits
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Hyperlinks
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages
allowing users toclick on words or images to get to new pages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
One big reason that the world-wide web has been so successfulis the provision of hyperlinks in webpages allowing users toclick on words or images to get to new pages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link
Notice thatwersquove used a relative filepath
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Suppose we have two webpages page1html andpage2html both sitting in the same folder
To create a hyperlink in page1 which points to page2 we use
lta href=page2htmlgtClick for page 2ltagt
This creates the text lsquoClick for page 2rsquo as a link Notice thatwersquove used a relative filepath
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
If page2html was inside a subfolder called pages we wouldinstead do
lta href=pagespage2htmlgtClick for page 2ltagt
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Linking to external webpages such as the BBC website is alsoeasy
Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Linking to external webpages such as the BBC website is alsoeasy Here we use an absolute URL
lta href=httpwwwbbccoukgtBBC webpageltagt
It is best to use relative URLs within your own site only usingabsolute URLs when you need to link to another website
Note the necessary http part
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Filenames
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers)
and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML code
Mixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying
Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo
Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo
youshould go for lsquomy_page_1htmlrsquo
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Important
When choosing names for HTML files or pictures you shouldonly use lowercase letters (andor numbers) and never usespaces
Filenames must be identical in any links in the HTML codeMixing the cases of letters leads to broken links or pictures notdisplaying Even if you get away with it on your computer itwonrsquot work when your website goes live
Instead of using spaces you should use underscores lsquo_rsquo Forexample rather than naming a file lsquoMy page 1htmlrsquo youshould go for lsquomy_page_1htmlrsquo
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensions
You can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
A related thing that can catch people out is problems with fileextensions (eg jpeg or png)
By default Windows no longer shows these file extensionsYou can change the default setting in Windows (Google it)
We have seen problems where files have filenames likersquofile1JPGrsquo rather than rsquofile1jpgrsquo which stops the picture fromappearing
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Activity (Spot the difference with a difference) Thecirculated HTML code almost corresponds to the code for thewebpage linked from the course website (see PresentationMaterials Week 8) Try to spot as many places as possiblethat the code is different from whatrsquos on screen
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Viewing the page source
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
It is possible to look at the source code for any HTMLwebpage you visit
Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software
On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
It is possible to look at the source code for any HTMLwebpage you visit Some pages have complicated HTMLoften generated by software On others you will find very plainHTML
To view the source usually you can right-click on the pageand select lsquoview sourcersquo (or similar)
I expect most of the module webpages made by your lecturerswill be simple to read so you could have a look at those
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Structuring web pages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Some web pages are easier to navigate than others
A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Some web pages are easier to navigate than others A menu ornavigation bar can help
Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu
When marking student websitessometimes itrsquos hard to be sure every page has been read
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Some web pages are easier to navigate than others A menu ornavigation bar can help Another option is a site-map whichlists the entire content of the site
Try to structure websites logically and avoid links to pagesthat donrsquot appear on a menu When marking student websitessometimes itrsquos hard to be sure every page has been read
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
Semester 1 mini-project reminder
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
The first mini-project must be submitted by shortly aftermidnight at the end of tomorrow (Wednesday 17 November)Please do make sure you submit as it counts towards yourfinal module grade
If you are stuck remember to make use of the discussionboard and contact either me or Alex if yoursquore in realdifficulties If you havenrsquot yet started therersquos still time (just)
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages
About the Week 8 Computer Lab
In this weekrsquos computer lab wersquoll start looking at HTML andcreate some basic webpages