![]() |
![]() |
|
HTML & Web Page design Preamble |
||
This page is an
introduction to some of the terminology & processes
of the Internet and HTML page description language. A
kind of simple glossary perhaps. It is written primarily for people that have never touched on the tutorial subjects, or experienced page design and site creation before. (comments and suggestions are most welcome and helpful) |
What is this thing?.
The Internet or World Wide Web is nothing more than a
mass of computers situated around the world that are
connected, but not directly. If you work in a company
that has multiple computers in various departments, or
attend school where there are multiple computers in class
rooms, chances are that all computers in those
environments are connected or "Networked". They
can all talk to each other, (sort off!). The Internet, for our understanding at this stage, is much the same only the "room" is a little bigger!. Switch a computer off and no other computers can get to it. Switch a computer on that is connected to the network and others can then transfer data back and forth. In the case of the Internet most of the cables that "network" or connect your work place or school computers are replaced by local, then state, and then world wide telephone services. If you have an Internet account (you have access the the Internet) you will be aware of ISPs or Internet Service Providers. They are no more than people or companies with computers connected one step closer down the line to the interstate or international telephone lines. In the work place and college environments the network is controlled or overseen by a master computer that keeps an eye on who is trying to do what and controls who can do what. These master computers are called Servers and the first server encountered on the Internet will be your ISPs computer. Like a computer at work or college is only one of many, so is your ISP. Their Server is just one of many servers connected to (usually) a Primary Server that has a connection to the outside world. Often when I check the path taken by the electronic digital name that my computer calls out to the rest of the world (the URL that I type into my browser - or the URL that is sent when I click on a button or Hyperlinked text), I find that 20 or 30 and more servers recognise the ID I have called and know they can send the name on out to others that can then ..... and so forth. Finally a computer somewhere (a Server) says to it self, I have got that file that he/she is looking for on my harddrive, and responds by sending an acknowledgment back to me and the conversation begins (computer conversation). Computers that "hear" the name but do not recognise it just ignore it, just as the work or college computers do on their local networks. In the case of general browsing, probably around 98% of Internet usage at a rough guess, once the computer conversation is established the contacted computer sends the file that I asked for and that file will be nothing more than a simple! file of text based information - as apposed to image files and Java applets etc that are complex binary data files. Back down the line of servers comes the file until my browser is given the file, by my computer system connected to a modem. The browser is a clever piece of software that can "read" the text and recognise special groups of characters we call Tags, and it is the tags that tell the browser how and where to place plain text objects, lines and any images that are to follow. When the browser notices a reference to another object, it then sends a request all the way back to the source computer again and that distant server hopefully obeys by returning the object file to my browser - which in turn already knows where to display the object on the page because of the tag information. And so on until my browser has finished loading the page I want to read. So if I decide I'm not interested and quickly repeat the cycle for another request, I have made a lot of equipment work very hard while also trying to satisfy millions of other requests from around the world and all for nothing. But is not that what they are there for, to serve? Hopefully you will appreciate the technological complexities involved, no science degree necessary, and keep calm when things go haywire. For your part, if you intend to create pages to pass around via the interenet, best you observe and learn all the little issues that can ensure the correct and efficient displaying of your pages. What
is a "Site"? However because the ISP will carry hundreds of individual "sites" for many clients, their (the ISP) server controls permissions etc. just as the work or college servers control who has access to what etc.. When you open an account for your own site, you will be given an amount of harddisk space where all the HTML and image files can be stored, but you do not get access to any of the other "sites" residing on the Host Server. How your site is managed depends on the agreement made with the hosting company or what they offer - whether you want to / are allowed to do it all yourself etc.. It is usually an expensive exercise, but for just a few pages and images and as a way to learn there are some very good deals around. |
top of page |
![]() So the only way we can virtually reproduce a strength of a given colour somewhere between nothing (black) and white is use lots of tiny solids so small that they appear to the human eye as one tone. The small solid colours used for web images are laid out in a set pattern - images for the web have to be pixelised as a controlled mass of the tiny dots. Each pixel is capable of representing one of the 16.77 million colours we can display on our televisions and computer screens and the colour system is called RGB. If we need to display or appear to display colours with a palette of less than 16.77 million, then the areas where many colour should be are "dithered" with a mixture of obtainable colours. Combined, the mixtures give the illusion of the unobtainable. Look closely and you will find colours missing, replaced by the closest average colour in the reduced Colour Palette. The sample above displays a "diffused" dither pattern applied to the image on the left where the number of available colours is reduced dramatically. On the right the image appears smoother because a wider range of colours is available. By moving back from the monitor a harshness in detail should become more evident. The WWW or Internet uses two types of bitmapped images, GIF and JPG, and both use an array of pixel information as described below. However, because GIF images contain a colour palette of 256 colours or less, to obtain the apparent inclusion of other colours they can have a dithered or random pattern of 256 existing colours applied to them to try and achieve the 16million+ colours that are missing. ie A combination of red and yellow will give the impression of an orange area. JPG bitmaps on the other hand use the full RGB palette of 16.77 million colours but have another purpose. With less colour value references .GIF image files can become very small compared to their RGB originals. .JPG files, although based on 16.77 million colours, are "compressed" with complex algorithms that basically average blocks of pixels so reducing the amount of colour value references and again produce smaller image files. .JPG compression can be varied depending on the quality desired, but once compressed should never be opened AND saved again because further picture information is permanantly lost every time. The name of the game is to transfer information down telephone lines as quickly as possible. That and only that is the reason why we cannot just use our normal RGB bitmap images in all their original glory. (Also keep in mind that monitors have a fixed resolution so any bitmap resolution can be used as long as it is 72 pixels per inch!!) |
top of page |
![]() In many complex ways objects of the universe emit light (our solar sun for instance), and creatures have developed the ability to define shape and form by detecting much of this light. We, as humans, are primarily concerned with the observance of what is called Visible light. That is, our eyes can detect wave lengths of natures Primary visible light components of Red, Green and Blue. Simply, different amounts of these components reflecting off an object give us the perception of a single colour. Portions of the three components may be absorbed by objects giving us variation, where as 100% reflection of each RGB component will appear white and 100% absorption will appear black). When we try to imitate nature, we can not get it quite right. Our ink pigments, television and monitor phosphors and laser printer waxes etc. are no where near perfect. Instead of an infinite variation of colour our television and computer monitors can only reproduce around 16.77 million colours. To add to our problems we must understand that different computer systems use different system colour pallettes (Mac, Windows, Unix etc). An accepted standard is the Web Safe colour palette. This palette has only 216 set colours that are relatively safe to view on most systems. A 256 colour palette (Indexed Colours) can have any 256 colours from the 16.77 million colour RGB system. However, the web safe colour pallette is fixed. We should keep using these colours where ever possible for a few years yet, although they produce very poor full colour pictures. Many corporate, college and home computers do not have 'wizz bang you beaut' video and hardware systems and because so many people only want information, try to design pages that will download as fast as possible, but still look fairly good. The dreaded Java applets and the number of colours in image files have the biggest impact on transmission speed - besides your host servers efficiency. |
top of page |
![]() In order for a computer system to create, manipulate and output an image, whether the image is scanned, photographed with a digital camera or created from a blank canvas in a Painting program like PhotoShop, the image must be digitised into tiny solid colour areas called Pixels. The pixels don't actually exist, your hard disk does not contain tiny individual pictures of each pixel, but they are represented on the computer screen for identification and manipulation from saved Red Green and Blue values. When a bitmap image is created, the first thing that must be established is the bitmaps Resolution. That is, how many pixels or areas of individual colours there will be per inch (ppi) horizontally (or per centimetre), and this will also be the same vertically. If an image has a resolution of 200ppi and will be 3 inches wide when output at same size, there will be 600 different colour blocks across each row. If the image is 4 inches high then there will be 800 rows, and the total number of pixels or individual colour areas in the image will be 480,000. If the resolution is high enough we will not see a pixelised affect when output, similar to but exaggerated in the sample above. This sample showing the individual pixels also shows separate rows of pixels that help make up the whole. The Colour Depth of a bitmap image refers to the number of colours that an individual pixel could represent (only one of those colours per pixel) and the value is based on Bits , the lowest value used by a computer system. Because an image is an horizontally and vertically based array of information, they are called BITmaps. TIFF, GIF, JPG, PIC, BMP and a host of other file types are all bitmap formats where the name describes the patented algorithms used to save the pixel and array information on to your hard disk. |
top of page |
Over 120 pages: All major topics divided into Classrooms | ||||
Free Backgrounds & Buttons! | DTP and HTML | "My First Page" HTML lessons | ||
Tutorial Text Search | Perl CGI Scripts | Typography & Layout | ||
4 pages of Links | Visitors Book | Perl Scripts Forum n/a | ||
Free Links page | Feedback Form | Q/A contact Forum | ||
![]() |
pages Designed & Published - Ron F Woolley |
©1997 '98. Last Revised: Friday, 31 October 2003 22:04 |