Ict Grade 10th Unit Two
Ict Grade 10th Unit Two
Instead of each computer having its printer, everyone could share one attached to the
network.
These relatively small networks of close-by computers are called Local Area
Networks (LAN)
A LAN could be as small as two machines in the same room, or as large as a
university campus with thousands of computers.
The most famous and successful type of LAN was Ethernet.
In its simplest form, a series of computers are connected to a single, common
Ethernet cable.
4
Cont..
Sending data on the Ethernet cable at the same time creates a collision.
To reduce collisions and improve efficiency, we need to shrink the number of
devices on any shared Ethernet cable to reduce collisions and improve efficiency
which is called the collision domain.
A switch is a networking hardware that connects devices in a computer network
by receiving and forwarding data to the destination place
To cut big transmissions into many small pieces called packets.
Cont.…
Each packet contains a destination address on the network so that switches know where
to forward them.
DNS is the protocol used to obtain host name to IP address translation information
between computers on the network
Typically every network will have at least one DNS server.
➢ DNS servers play a crucial role in translating domain names (such as www.example.com)
into IP addresses that computers and networks use to locate and communicate with
each other.
The DNS server will maintain a list of which IP address maps to
which computer name, so that it can translate between the two.
The process of translating a computer name into an IP address is known as name
resolution.
Cont...
❖ Like how a phone books work, you add a new contact with a person’s name and
his/her phone number, then when you try to call a person you’ll search by his name
and dial the number associated with him.
If the DNS is not resolved the web browser will show an error
DNS address could not be found.”.
There could be several reasons why DNS resolution fails
➢ problems with the network connection
➢ misconfigured DNS settings
➢ the domain name might not exist at all.
7
WWW and Hyperlinks
➢ The fundamental building block of the world wide web is a single page.
This page of document that contains content that can include a link to other pages is
called hyperlinks
➢ These hyperlinks connect on one page to the other page, which creates a web of
interconnected information
➢ A hyperlink is a reference to data that the reader can directly follow
➢ It is typically underlined and colored differently than the surrounding text.
8
Hypertext
A web server is a software that stores webpages and responds to user requests that
come through web browsers
➢ HTTP, which stands for Hyper Text Transfer Protocol, is the set of rules that web
browsers and web servers use to communicate with each other.
HTTP
This protocol defines how browsers should request Web pages and how Web
servers should respond to those requests
To ask for hypertext pages, there is a standard protocol called Hypertext transfer
protocol or HTTP .
It has different method like :
GET to read or retrieve data from server
POST to create or submit data to server
DELETE to delete data,
PATCH to modify data, and PUT to replace or update data from server.
When you type a domain name into your browser, it automatically adds
HTTP Status Codes
➢ It encrypts the information transferred between the server and the client.
➢Sensitive information like usernames and passwords can be seen
HTML
Because the hypertext contains plain text, the browser has no idea which is a
header, paragraph, or image.
It makes it necessary to create a markup language to mark different parts of the
hypertext
For this purpose, Hypertext Markup language or HTML was developed.
Inside the plain text file document, you can add some commands like:
<h1> for a heading
<p> for a paragraph
<img /> for an image, etc
Cont…
➢ They’re also other technologies that can be embedded inside HTML like
Cascading style sheets (CSS) :to style color, shapes, and more
JavaScript :to make the page dynamic and validation.
➢PHP to handle server-side logic.
➢ It allows you to handle various tasks on the server, such as processing form data,
interacting with databases, and generating dynamic content.
➢SQL to store Data Permanently
Web Designer
It’s used to converting the web design into a functional website, using different
coding languages like HTML, CSS, JavaScript, PHP, and others
Based on their role, web developers can also be divided into three
1. Front-End Developer
❖ It is the part of the website that the user interacts with directly is called a front- end
or client-side application
❖ It includes everything seen on the browser like tables, images, graphs, navigation
menus
❖ HTML, CSS, and JavaScript are the languages used for front-end development
Cont…
2. Back-End Developer
❖ It is the server side of the website
❖ It is involved with data storage, processing, authentication, authorization ,etc
❖ PHP, SQL, and Python are a few of the coding languages that are available
for server-side(back-end) development
3. Full-stack Developer :
❖ the ability to design complete applications and websites.
❖ They work on both the front and back ends
Cont. …
Then every HTML element in your document must be wrapped inside one single
<html> </html> element . It will be the root element of every element .
Cont…
first.html output
<!DOCTYPE html>
<html>
<head> </head>
<body> </body> </html
❑ The head element holds any metadata related to the document. Like the
title of the document, by default, it takes the filename.
The <html> element will also contain two elements which are <head></head> and
<body></body>.
HOW TO CREATE AN HTML DOCUMENT
The essential tags that are required to create a HTML document are:
<HTML>.............</HTML>
<HEAD>.............</HEAD>
<BODY>.............</BODY>
<HTML>.............</HTML>
The <HTML> tag encloses all other HTML tags and associated text within your document
<HTML>
Your Title and Document (contains text with HTML tags) goes here
</HTML>
<HEAD>.............</HEAD>
❖ The head section contains metadata and other information about the webpage, such as
the title of the page, character encoding, linked stylesheets, scripts.
❖ . The Format is:
<!DOCTYPE html>
<html>
<head> <meta charset="utf-8">
<title>My HTML Page</title>
<meta name="description" content="my first html5 page"> </head>
<body> </body> </html>
BODY Tag <BODY>
The BODY tag contains all the text and graphics of the document with all the HTML tags that
are used for control and formatting of the page.
The Format is:
<BODY>
Your Document goes here
</BODY>
Follow the steps to create and view in browser
Step-1: O p e n t e x t e d i t o r N o t e p a d ( c l i c k o n Start)
Step-2: Enter the following lines of code:
<HTML>
<HEAD>
<TITLE>
My first Page
</TITLE>
</HEAD>
<BODY>
WELCOME TO MY FIRST WEB PAGE
</BODY>
</HTML>
Cont.…
Heading
Title
Bolding
Paragraph
Break
HERE
HTML attributes
❖ There are several elements for defining text with special meanings like bold, italic, marked text, superscripted
text, subscripted text,
✓ <b> - defines bold text with no extra importance.
✓ <strong> - defines Important text. Its content will be displayed in bold.
✓ <i> - Italic text, it slightly slants to the right like this. It is used to indicate special terms such as technical terms,
phrases of another language, name of an object.
✓ <em> - Emphasized text. It displays the content in italic.
✓ <mark> - Marked text. It highlights a text.
✓ <small> - Smaller text.
Cont..
❖Comments are text written inside the HTML code by the web developers to put a message or
explain their code.
✓ <!-- i am a comment, browsers will not display me. -->
✓ Any thing in between <!— and --> will be hidden
HTML Links
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..
Cont..