ICT 100%


 What Is a Computer?

  • A computer is an electronic device that stores and processes data. It includes both hardware and software.
  • In general, hardware comprises the visible, physical elements of the computer, and software provides the invisible instructions that control the hardware and make it perform specific tasks.
  • Writing instructions for computers to perform is called computer programming.
  • Knowing computer hardware isn’t essential to your learning a programming language, but it does help you understand better the effect of the program instructions.
  • This section introduces computer hardware components and their functions.
  • A computer consists of the following major hardware components
    • Central processing unit (CPU)
    • Memory (main memory)
    • Storage devices (e.g., disks, CDs, tapes)
    • Input and output devices (e.g., monitors, keyboards, mice, printers)
    • Communication devices (e.g., modems and network interface cards (NICs))
  •  Programs and data are permanently stored on storage devices and are moved to memory when the computer actually uses them.
  •  The machine language is a set of primitive instructions built into every computer.
  •  Assembly language is a low-level programming language in which a mnemonic is used to represent each machine-language instruction.
  • High-level languages are English-like and easy to learn and program.
  •  A program written in a high-level language is called a source program.
  •  A compiler is a software program that translates the source program into a machine language program.
  • The operating system (OS) is a program that manages and controls a computer’s activities.
  •  

These tags identify the document contents as HTML to the browser. HTML documents are structured into two parts HEAD and BODY and both of these are contained within HTML tags. Head contains information about the document that is not genuinely displayed such as its title. Meta and link elements all are contained in the head section. Meta tag the character encoding tells the web browser which characters the web page uses.



<!DOCTYPE HTML> <!--www.ict100.com--> <html> <head> <title>Example of HTML file structure with tags</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name ="description" content ="Sample"> <meta name="keywords" content=""> <link rel="test" href="#" type="text/css"> <link rel="shortcut icon" href="images/favicon.ico?v=2" type="image/x-icon" /> </head>

HTML Elements

All HTML documents contain HTML pairs of tags html opening and closing tags These tags identify the document contents as HTML to the browser. HTML documents are structured into two parts HEAD and BODY and both of these are contained within HTML tags. Head contains information about the document that is not genuinely displayed such as its title. Meta and link elements all are contained in the head section. Meta tag the character encoding tells the web browser which characters the web page uses.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Within our head we can add links to link our stylesheets and JavaScript’s files

How to link external stylesheet file

Within current directory of your css

<link rel="stylesheet" type="text/css" href="./styles.css" />

How to link external javascript file

<script type = "text/javascript" src = "./js.js"></script> <body> <div id="wrapper"> <div id="maincontent"> <div id="header"> <div id="logo" class="left"> <!--www.ict100.com--> <a href="#"><img src="#logohere" alt="www.ict100.com"/></a> </div> <div class="right xx"> <b> <a href="#" >Login</a> |<a href="#" >Our Members</a> |<a href="#" >Buy</a> </b> </div> <!--www.ict100.com--> <ul class="topmenu"> <li><a href="#">About you</a></li> <li><a href="#">yourservice</a></li> <li><a href="#">location</a></li> <li><a href="#">ContactMe</a></li> </ul> <br> <div class="banner"><p></p></div> <br class="clear"/> </div> <div class="content"> <!--put your content here--> </div> </body> <div id="footer"> <div class="footer"> <a href="#">AboutYOU</a>|<a href="">user1</a>|<a href="#">xx </a>|<a href="#">xx</a><br/> <span class="contact">Tel: 00 &nbsp; Fax: 00&nbsp; Email:us@ict100%.com</span> <!--www.ict100.com--> </div> </div> </div> </body> </html>