Sat
Dec
26
2009
What is a web browser?
It’s the day after Christmas and my phone has rang a couple of times with family friends who have computer questions. One person asked me a question I haven’t heard in a while, a question so basic I thought it merited a little more attention.
What is a web browser?
The short answer
My short answer to the question ‘What is a web browser’ is that a web browser is a application we use to view web documents. You use Microsoft Word to view Microsoft Word documents, you use a web browser to view web documents.
There are many different web browsers you can install on your computer. Microsoft makes Internet Explorer. Mozilla makes a great web browser you can download and install that is absolutely free called Firefox. Google has a really nice free web browser called Chrome that a lot of people like. What web browser you want to use is up to you.
More short answers
Just in case you would like to know more I have jotted down some answers to some of the more common internet questions.
Q: How does Internet Explorer know it should open?
A: Don’t worry, your web browser will know what documents it should open. Let me explain. If you create a document in Microsoft Word about cats and name it ‘felines are fun’ it would be saved to your computer as ‘felines are fun.doc‘. The file name extension ‘doc‘ is important, it lets your computer know what application to use to open that document.
Most web documents have an extension of ‘html‘ and if double click a document with a ‘html‘ extension then Internet Explorer, or whatever web browser you have loaded, will open to let you read it.
There are many types of web document extensions. In addition to ‘html‘ there are documents with a shorter ‘htm‘ extension. Other web document extensions include ‘php‘, ‘asp‘, ‘jsp‘, and more.
Q: What is the Internet?
A: Years ago people figured out ways to let computers communicate using phone lines. The internet is what we call all these computers talking back and forth to each other. When you sit down and start looking at things on the internet your computer becomes a part of the internet.
Q: How do you write a web document?
A: All that you need to have to create a document people could read with a web browser is a copy of notepad and a reasonable understanding of a markup language called the Hypertext.
The next question opens up a huge can of worms and the answer is pretty long. If you have some time read, I hope it helps.
How did all of this happen?
This is the big question. It helps to understand why web browsers were needed and the logic of how they function if you have a little background.
So lets go back in time, back to the 1980s. The decade when, for the first time ever, computers would became something a small business would own.
Just as they do today businesses produce a lot of letters. The king of letter production before the PC and the word processor was the IBM Selectric typewriter paired with a typist who could type at around 50 words per minute.
If you wanted two or more copies of the same letter people used stuff called carbon paper, and with carbon paper it was possible to produce two copies of the same letter at the same time. Maybe more, but as you can imagine this was quite a bottleneck. If you wanted a lot of copies of anything you had to take your problem to a printer or buy a xerox copy machine, which was expensive. The ghost of carbon paper is still with us, when you send an email you have the option of carbon copying (cc) people.
Enter the personal computer, the word processor and the dot matrix printer. Bang, it was just as easy to create a hundred copies of a letter as one. You could type a letter one time and save it to disk for use later. The bottom line was that a personal computer with a word processor paid for itself and then some, they were a good investment.
These first word processors were not easy to use. Everyone had to learn how each of these early word processors wanted things done. For the most part these were the days of the command prompt, no graphical user interface and a mouse.
A Tandy TRS-80 or a IBM PC didn’t come with a What You See is What You Get (WYSWYG) word processor like the Macintosh. These computers came with word processors like LeScript, Word Star or Word Perfect 5.1 for MS-DOS.
Word processors like LeScript and Word Star required users to memorize key combinations and or special tags.
The special tags deserve special attention. Say you want to develop your own word processor and one of the things we want to do if give people the ability to print italicized letters.
Now days printers receive information sent to them from the printer driver installed on the computer. Printers understand this information only if it is written in a language the printer understands, such as Post Script (PS).
Word Processor -> Printer Driver -> Printer
Back in the 80’s it was simpler, a word processor essentially talked directly to the printer device.
Word Processor -> Printer
Knowing this all we need do is find out what the printer needs and write our word processor so that the data being sent to the printer turns on italics when we want italics and turns off italics when we’re done. We need a simple way to do this.
How about surrounding whatever we want italicized with some special characters? What if we use the special character set <i> to denote when we what to begin italicizing and the special character set </i> to denote when we what to stop italicizing? These special character sets would be used like this to print the word cat italicized: <i>cat</i>
Those sets of specialized characters are our tags. We would build special tags to also bold words or align words to the left or to the right. We would define tags to do whatever we would want. Our tags would mark the text in special ways and would constitute our ‘markup language‘.
Our word processor would recognize these tags and modify the information going to the printer to give us the results we wanted.
This is how many of the old word processors worked.
Back in the days of LeScript or Word Star if you wanted to print out a word that was underlined you had to precede the word with a special character or type a special key combination that told the printer to ‘start underlining’. When you wanted to end the underlining you again had to know a special character or type a special key combination. It was all about knowing what special gibberish did what.
No two word processors did anything the same way. If you were interviewing for a job it really mattered if you were familiar with the word processor the company used because it took a lot of time to train people to use them.
A funny thing happened in 1984 though. Apple released the Macintosh computer. A 1984 Macintosh looked a lot like the computer systems common today. The Macintosh came with a Graphical User Interface (GUI) Operating System (OS) complete with a mouse.
The Macintosh also offered a word processor called MacWrite, users enjoyed a WYSWYG world. If a word was in bold print on the monitor it printed out bold on the printer.
Unfortunately the Macintosh had the reputation of being expensive and the vast majority of us were stuck in a world without mice until the 90’s. But this better way of doing things was inevitable and eventually the difficult to understand word processors with their byzantine key combinations and specialized tags were put out to pasture.
The ease of use problem seen with early personal computers and word processors was solved. The next problem was sharing the documents. You still see this problem. A person shows up with the all important contract on a thumb drive or emails it to you as an attachment and you can’t open it on your Mac because they created it on a Dell running Windows XP using Word Perfect 12.
Damn. Somebody should come up with a way for people to create documents that everyone could use so that the documents always look like they should and everyone can read them.
Good news. This document sharing problem was recognized pretty early on by scientific researchers.
As I said at the beginning of this article a web browser is a application we use to view documents. Remember those early word processors, such as LeScript, and those special tags? Web browsers read documents written in the Hypertext Markup Language (HTML), and if you look on the internet you will see that Hypertext is a markup language that is made up of many tags.
In fact the <i>cat</i> example see earlier is the actual tag used in HTML to italicize letters.
So you see the way old word processors worked and the way web browsers worked are very similar. In the 1980 tags were used to command word processors to make things come out on a printer in a certain way and today tags are used to make things come out on a web browser in a certain way.
In the 1980s information was presented to people on paper coming out of a printer, and today information is presented through a web browser.
If you want to learn more about creating documents in Hypertext Markup Language that anyone in the world can read using a web browser I suggest you visit the W3 Schools Website and learn more.
It’s actually pretty easy and most importantly . . .
It’s fun!
