<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d32752028\x26blogName\x3dThe+Journey+To+E-Dollars\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://journey2edollars.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://journey2edollars.blogspot.com/\x26vt\x3d7682972605504667360', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script> <iframe src="http://www.blogger.com/navbar.g?blogID=32752028" height="30px" width="100%" marginwidth="0" marginheight="0" scrolling="no" id="navbar-iframe" frameborder="0"></iframe>
Free Fast Track To E-Dollars Tutorial. Click here to find out more!

Saturday, August 19, 2006

What is a web page?

Recently i received an email from my first subscriber.He asked me what is a web page and what has html to do with a web page?

There are a lot of ways to look at a web page but i can only offer mine. A web page is a html file and html is a language that is used for communication between a browser and a http server. In order for the browser and server to communicate effectively and efficiently, they need to speak the same language within the same 'culture'. So they speak the same html language within the same http 'culture'.
Like a culture, http defines the acceptable rules and behaviours for both the browser and server so that they can communicate effectively and efficiently. Formally, html is Hyper Text Marked-up Language and http is Hyper Text Transfer Protocol. Yes, when i said 'culture' i meant protocol. (But don't you think Hyper Text Transfer Culture is a bit user friendly?)

In a way, a html file is called a web page when it is viewed through a browser.
So basically a web page is a html file and vice versa. When someone is creating a web page, he is actually creating a html file with the html language. When he is done
with the html file, he uploads the file to the server, gives it a web address like www.ifeelgood.com/aboutme.html. When people type in that web address or click on a link with that web address, the server will send the html file to their browser. The browser will then translate the html file to the typical user friendly nice looking web page like the one on your screen now. So to be precise, after the html file is translated by the browser, it is called a web page. To have a look at the html file before the translation, go to any site, after that click VIEW (at the top left hand corner of your browser), then click on SOURCE/PAGE SOURCE. You will be able to see the raw html for that particular web page you are viewing.

However, a plain language like html is pretty boring and limited in exchanging 'expressions'. A html-only file is a plain text-only web page to a browser. In order to make the html language more colourful and expressive, software developers came out with scripting languages like css, javascript, php, asp, etc. More on scripting languages next time.