Exercises, examples and other material relating to training module W502. This topic is presented on public course %xw%
Web pages have two main elements Ð a head and a body Ð each of which includes particular parts of the information that relate to the page as a whole. In both parts, data is marked up with tags to inform the browser how to interpret that data. There are many different tags available, and it's worth learning good practice early on so as to make your pages as robust and portable as possible.
|Articles and tips on this subject||updated|
|4034||The VERY basics of a web page ... and web site|
"Go look after this site - it's quite a small one". But even a small web site can have a lot of complexity these days, and that can often hide the basics.
When a user calls up a web page, he's asking the browser on his computer (typically Firefox, Chrome or Internet Explorer; maybe Safari ...
|3563||How big is a web page these days? Does the size of your pages matter?|
According to the BBC, the average web page is up in size from 726 kBytes to 965 kBytes in the last year. See [here]. Does this matter?
I first browsed the web with a modem - I remember stepping through modem generations at 9.6k, 19.2k, 28k, 33k and 56k bits / second. The slower speeds were used ...
|3517||Tags used in writing this blog|
This blog has been running for a very long time ... and so some of the tags I use are a bit out of date old fashioned. These days, our scripts tidy up / convert many of the tags when old articles are called up from archives but we still maintain the blog using the older stuff. For the sake of my proofreaders, ...
|2675||Redirecting to your main domain for correct security keys|
Do you want to come to Well House Manor as a base to see Wiltshire or for a course? If it's you're first visit you'll want to find us on a map - and we have a map at http://www.wellho.net/demo/gmap.php which you can zoome to five levels at the click of a button and do other smart things with. And that ...
|2246||What difference does using the XHTML standard really make?|
I enclose my HTML attributes in quotes - or at least when I remember, I do!
I always provide a matching close tag to go with each opening tag - except when I forget to do so, or am in a hurry
I make sure I provide an alt attribute with each image - although sometimes I really don't know what I would ...
|1811||Alternative URLs using % symbol encoding|
Did you know that you can replace a character in a URL with the equivalent hex code - i.e. you can URL encode it? For example:
both point to the SAME page, as %41 is the ...
|1463||All the special characters in HTML ...|
There's a wide variety of accented characters used around Europe - and Slovenia this week was no exception! I know I should simply use a standard code chart when I need to find a "special" but it's so much easier to write a couple of loops of PHP!
See here for the source and here to run it ...
|1431||Getting the community on line - some basics|
We're very much involved at the high-tech end of internet programming and web site development and training. But it's really good for me good to see the other end of the spectrum, from time to time, and an hour's seminar at Chippenham Library last night, run by the local community web team, was an ideal ...
|1187||Updating a page strictly every minute (PHP, Perl)|
For the Clock exercise that I mentioned in my last entry, I need to update the page once a minute. Exactly once a minute. At the start of the minute.
I'm using client pull, where the browser asks for the next page - so my basic request is:
<meta http-equiv="refresh" content="60; url=/clock/now.php">
|1160||HTML - example of a simple web page|
After a series of advanced courses over the last few weeks, it's really great to be back to basics for a week ... with HTML and simple PHP scripts being the target - training for an organisation who are using PHP to web enable some admin tasks on their intranet.
Back to basics with HTML ...
1. Directives ...
|993||Positioning with Cascading Style Sheets|
I've been busy updating some cascading style sheet demonstrations and adding to material today, including some positioning demonstrations which, I must confess, have been a bit frustrating at time. There's just so much I want to show without producing a great fat book with lots of long examples ... ...
How do we manage this? We introduce something new and we're rushed off our feet - not that I'm complaining in the slightest! And so it is with our Hotel. Although we're not open until next month, we've got every room pencilled in already for one of the courses that month, and also for Geekmas as the ...
Examples from our training material
|codes.php|| ASCII codes for HTML special characters|
|el001.php|| XHTML Page|
|el002.php|| XHTML Page with PHP (current time and date)|
|el003.php|| XHTML Page - PHP clock, auto reloads every minute|
|el004.php|| XHTML Page with PHP, dynamic reload and style|
|el005.php|| XHTML Page with PHP, dynamic reload, style and image|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Advice not control.
Tags; start and end tags.
The document body.
Ordered, unordered, menu and directory lists.
Ruling, and centering.
Heads and titles.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.