Internet is a global network that connects billions of computers across the world with each other and to the World Wide Web
Internet uses standard internet protocol suite (TCP/IP) to connect billions of computer users worldwide
Internet is set up by using cables such as optical fibers and other wireless and networking technologies
Internet is the fastest mean of sending or exchanging information and data between computers across the world
Internet was first connected
1969
Why internet is called a network
It creates a network by connecting computers and servers across the world using routers, switches and telephone lines, and other communication devices and channels
Difference between internet and World Wide Web
Internet is the backbone of the web as it provides the technical infrastructure to establish the WWW and acts as a medium to transmit information from one computer to another computer. World Wide Web is a network of computers and servers created by connecting them through the internet
Internet is not owned by a single person or organization entirely
As of 12 August 2016, there were more than 300 crores of internet users across the world
Client
A device such as a laptop, which is connected to the internet indirectly through an Internet Service Provider (ISP) and is identified by an IP address
Server
A large computer that stores websites and has an IP address. A place where a large number of servers are stored is called a data center
Domain name
Represents an IP address number, i.e., each IP address has been assigned a domain name
DNS (Domain Name Server)
A huge phone book that the internet uses to find the IP address of a domain name
How internet works
1. Browser sends request to DNS server to get IP address
2. Browser forwards request to respective server
3. Data flows from server to client through optical fiber cables and routers
Internet is managed by ICANN (Internet Corporation for Assigned Names and Numbers) located in the USA
Data transfer is very fast on the internet because data is sent in binary form (0, 1) and divided into small pieces called packets
Advantages of the Internet
Instant Messaging
Get directions
Online Shopping
Pay Bills
Online Banking
Online Selling
Work from Home
Entertainment
Cloud computing
Career building
HTML
HyperText Markup Language used for creating web pages and web applications
HTML is a markup language rather than a programming language
Hypertext
Text within text, a link within a text that brings you to a new webpage
Markup language
A computer language used to apply layout and formatting conventions to a text document
Web page
A document commonly written in HTML and translated by a web browser
Description of HTML example
<!DOCTYPE>: Defines the document type
<html>: Informs the browser it is an HTML document
<head>: Contains metadata about the document
<title>: Adds title of the HTML page
<body>: Contains the main content of the HTML document
<h1>: First level heading
<p>: Paragraph
Features of HTML
Easy and simple language
Effective presentation with formatting tags
Flexible way to design web pages
Adds links to web pages
Platform-independent
Adds graphics, videos, and sound
Case-insensitive
HTML text editors
Programs that allow editing of written text to create web pages, e.g. Notepad, TextEdit, Notepad++, Sublime Text, Vim
Building blocks of HTML
Tags
Attributes
Elements
An HTML file is a text file
HTML tags are keywords which define how web browser will format and display the content
HTML tags contain three main parts: opening tag, content and closing tag. Some HTML tags are unclosed tags
Web browser reads an HTML document from top to bottom and left to right
HTML tags are used to create HTML documents and render their properties
HTML file
An individual component of an HTML file
HTML file structure
<!DOCTYPE html>
<html>
<head>
<title>The basic building blocks of HTML</title>
</head>
<body>
<h2>The building blocks</h2>
<p>This is a paragraph tag</p>
<p style="color: red">The style is attribute of paragraph tag</p>
<span>The element contains tag, attribute and content</span>
</body>
</html>
HTML tags
Keywords which define how web browser will format and display the content
HTML tags
They contain three main parts: opening tag, content and closing tag
Some HTML tags are unclosed tags
When a web browser reads an HTML document, browser reads it from top to bottom and left to right
Each HTML tag has different properties
An HTML file must have some essential tags so that web browser can differentiate between a simple text and HTML text
All HTML tags must be enclosed within < > these brackets