
Home
About Apple Career Experiences General Graphics Hardware History Humor Interface Networking OS Opinion Politics Programming Quotes Reviews Security Software Sound Thought Web

Cheap International Airfare Online
Wachovia online banking
Get Free Coupons Online
Finding the perfect discount hot tub
Payday Loans
Stock Trading Online
Stuffed Animals
Smart Investing Online
|
 |
How the Web works Very basics of HTML
By: David K. Every
|
Kind: Created: Size: |
Article 2002-03-11 08:01:56 3 KB |
|
|
 |
he majority of the Internet and computers are actually very simple to understand. The jargon and alphabet soup (acronyms) only make it sound more mysterious and complex than it really is.
Basically, how a website works is that anyone can create a file, and then they put that file where others can read it. An "html" file (which stands for HyperText Markup Langauge) allows a special kind of program (called a Web-Browser) to read that file, interpret it and display the results. A web "site" is nothing but a place that has a bunch of these files that other people can use their browsers to read.
Much of an HTML file is text (the stuff for users to read), but some of it is special "tags" which the browser reads. Those tags tell the browser how to display the text; it gives it format information, like the color, type style, position, or tells the browser about another file that you can display (like a picture, movie, sound), or "link" to.
A link is just a pointer to another file, so that a user can "click" on the link, and the browser goes to (reads) that new file. In fact, that's where the term "hyper-text" comes from, it means that you can jump from one text file to another with a link (hyperlink) -- by clicking on certain highlighted words or images.
A simple HTML could look as follows:
<HTML> <HEAD> <TITLE>Test</TITLE> </HEAD> <BODY> <P>Hello, I am a sample file</P> <P><A HREF="http://www.yahoo.com">Goto:Yahoo</A><P> </BODY> </HTML>
Which looks like a bunch of gobbledy-gook, but is really pretty simple.
Tags are "commands" for the browser to read, and are surrounded by "<>". And tags come in pairs with a beginning and ending tag like <HTML> and </HTML> telling the browser this is the start of the hyper-text, and end. There's the page title "Test", which is in the pages heading; and then the body. <P></P> is the start and end of a paragraph; and the content of paragraphs are shown to users (for you to read). Then there's another paragraph with the <a ...> and </A> tag; whatever is between these tags becomes a hyperlink to another webpage, and the content of the tag 'HREF="..."' tells the link where it should go when clicked on.
So in this case, the browser will show a page with the title of "test", a paragraph that says, "Hello I am a sample file". And then another paragraph that is a link that says "Goto:Yahoo", and would take you to www.yahoo.com if you clicked on it.
That's all there is to HTML and the web. There are a lot more tags, with tables and images and colors, fonts and stules and so on; but already you understand the basics of how it all works.
If you create a site that has a few pages of information in them that you find valuable - then other people may link (point) to your pages because they like what you had to say and want others to find it as well. And you can put links to related pages and sites, and soon the whole mess will be interconnected into a big "world-wide-web" of files and information. 
Format for Printing Mail
|
|
 |
 |