Difference between revisions of "HTML"

From CompSciWiki
Jump to: navigation, search
Line 5: Line 5:
  
 
|Introduction=
 
|Introduction=
An operating system (OS or O/S) is the software responsible for coordinating and managing the movement and processing of data on a computer. The O/S allows the user to access application software, such as a word processor, using hardware like a mouse and keyboard. The application software also requires the O/S in order to access hardware such as the disk when it is writing to memory. Without the O/S, the elements of a computer would have no way of communicating with each other and nothing would get done. When an application is asked to start, the O/S will allocate RAM, meaning it will set aside space in memory for the application to run then start the application running. <ref>COMP 1260 Course Notes Fall 2008 http://www.cs.umanitoba.ca/~comp1260/Notes/02_whatis08c.pdf</ref> Having an operating system means applications do not have to know how hardware works in order to use it. Much like we don’t need to know how a car engine works, just that it will do what we ask when we turn the key or press the brake.  
+
An operating system (OS or O/S) is the software responsible for coordinating and managing the movement and processing of data on a computer. The O/S allows the user to access application software, such as a word processor, using hardware like a mouse and keyboard. The application software also requires the O/S in order to access hardware such as the disk when it is writing to memory. Without the O/S, the elements of a computer would have no way of communicating with each other and nothing would get done.
 +
 
 +
When an application is asked to start, the O/S will allocate RAM, meaning it will set aside space in memory for the application to run then start the application running. <ref>COMP 1260 Course Notes Fall 2008 http://www.cs.umanitoba.ca/~comp1260/Notes/02_whatis08c.pdf</ref>
 +
 
 +
Having an operating system means applications do not have to know how hardware works in order to use it. Much like we don’t need to know how a car engine works, just that it will do what we ask when we turn the key or press the brake.  
 
|...by students=<em>
 
|...by students=<em>
 
Myself being a fresh face to HTML, I had my doubts about it. I soon found more than enough resources from our good friend the Internet, to better understand the root of all web pages, HTML.
 
Myself being a fresh face to HTML, I had my doubts about it. I soon found more than enough resources from our good friend the Internet, to better understand the root of all web pages, HTML.
Line 92: Line 96:
 
==References==
 
==References==
 
<references/>
 
<references/>
 +
 +
 +
 +
  
 
<br/>
 
<br/>

Revision as of 16:13, 6 December 2009

COMP1260 > Understanding the Internet

code sample or quote or sthg?



Introduction

An operating system (OS or O/S) is the software responsible for coordinating and managing the movement and processing of data on a computer. The O/S allows the user to access application software, such as a word processor, using hardware like a mouse and keyboard. The application software also requires the O/S in order to access hardware such as the disk when it is writing to memory. Without the O/S, the elements of a computer would have no way of communicating with each other and nothing would get done.

When an application is asked to start, the O/S will allocate RAM, meaning it will set aside space in memory for the application to run then start the application running. [1]

Having an operating system means applications do not have to know how hardware works in order to use it. Much like we don’t need to know how a car engine works, just that it will do what we ask when we turn the key or press the brake.

 

...by students

Myself being a fresh face to HTML, I had my doubts about it. I soon found more than enough resources from our good friend the Internet, to better understand the root of all web pages, HTML.

There are several great features of Linux; it is a free open source O/S which has both a command line and graphical interface. It also supports several programming languages which can be installed quickly and easily. There’s even the enjoyable command ‘apt-get moo‘. However my personal experience with Linux at the U of M has resulted in more frustration than admiration. For a second year class I had to Shell into a Linux lab on campus to edit and hand-in homework. This required me to enter commands one by one into the command line which also meant remembering a list of commands to get anything done. Several times I would forget the correct sequence of commands or move myself into the wrong directory looking for a file and have to start over from the top. After some time, it was pointed out to me that you could also edit files elsewhere and just transfer them in. It was so comforting to be reunited with the Windows style of clicking pictures and words to get what I needed.

What Is HTML?

HTML stands for “HyperText Mark-up Language”. A mark-up language refers to a collection of tags, or “mark-ups”, that are inserted into pieces of text, usually at the beginning and end of a particular segment. Different mark-ups have different features. A simple example is for the application of font changes, such as color, style, bold, underline, and other such changes akin to those available in most text editing applications.



How is HTML Related to the Internet?

The HyperText component is what makes HTML so special. HyperText is an extension to the existing set of mark-ups that can embed a link to another document or file in a piece of text. The ability to link between documents over a network of computers is the basis upon which the Internet was created. The Internet is the connection that allows all of the HTML documents to link to one another in some way or another. This forms an interconnected web of pages. In short, the use of a HyperText Mark-up Language largely contributes to making the internet work the way it does.


Examples of HTML Commands

NOTE: '...' is where you would put your text.

Mark the beginning and end of the HTML document:

<html>...</html>

Denotes a heading. Replace ‘#’ with a value from 1 to 6, with 6 resulting in the smallest heading size:

<h#>...</h#>

Denotes a new paragraph:

<p>...</p>

Change the font:

<FONT FACE="fontname">...</FONT>

Apply bold format:

<b>...</b>

Center align text:

<center>...</center>

Embed a link in a piece of text:

<a href="URL">... </a>

Denotes the head or body of a page:

<head>...</head>
<body>...</body>

Add an image:

<img src="URL" />

or

<img src="filename.ext" />

Add a comment that will not be visible on the page:

<!--...-->

Behind the Scenes

Every page on the internet is backed by HTML code. You can see this for yourself by clicking "View", then click "Source" or "Page Source". The exact name of this tag will differ between browsers, but the keyword here is "source". This will open a new window, displaying the HTML code for that web page


Overshadowing HTML

People do not often work with raw HTML. Instead, they use different programs that translate a different style of commands into HTML.

A few web page design alternatives to raw HTML:

Overall Conclusion

Any material on the web works, or is backed by HTML code at some point or another. No matter how it was developed, whatever tools were used, however deep and complex it may be, any page can be translated back to an HTML code format.

Further Readings

  • How Stuff Works Learn how specific operating systems work, such as Windows Vista. Also find more information on the history and future of operating systems.
  • Computer Hope Important definitions and news from Apple, Microsoft and Linux/Unix

References

  1. COMP 1260 Course Notes Fall 2008 http://www.cs.umanitoba.ca/~comp1260/Notes/02_whatis08c.pdf




Previous Page: FTP

Next Page: ISPs in Manitoba