NAVODAYA VIDYALAYA SAMITI, NOIDA�
E-Content for Class XII (Informatics Practices)�Topic: Websites
BY
Jitendra Kumar, PGT IT
JNV, Medak
Learning Objectives
Website
A website is a collection of linked web pages (plus their associated resources) that share a unique domain name. Each web page of a given website provides explicit links—clickable portion of text,images etc —that allow the user to move from one page of the website to another.
To access a website, type its domain name in your browser address bar, and the browser will display the website's main web page, also referrred as homepage :
Web Page
A web page is a simple document displayable by a browser. Such documents are written in the HTML language.
A web page can embed a variety of different types of resources such as:
Static vs Dynamic Web Page
Static Page | Dynamic Page |
Static web pages are difficult to alter because it requires the change to be implemented at each point manually that is the reason its content doesn’t change regularly. | he structure of dynamic pages is different from static web pages which contain server code and allows the server to generate unique content each time the page is loaded with the same source code. |
Simple to construct | Complex to construct and design. |
Static web page can be created using technology such as HTML, JavaScript, CSS etc. | dynamic web pages are created using CGI (Common Gateway Interface) and languages like AJAX, ASP, PERL, PHP etc. |
The static web pages display the same content each time when someone visits it | Dynamic web pagecontent changes according to the user. |
The static web pages load in less time. | The dynamic web pages take more time while loading. |
There is no database used in a static web page. | A database is used in at the server end in a dynamic web page. |
Webpage v/s Website
A document which can be displayed in a web browser such as Firefox, Google Chrome etc. is called a web page.
A collection of web pages which are grouped together and usually connected together in various ways. Often called a "web site" or simply a "site."
v/s
Web Server
“A computer that hosts a website on the Internet”
A web server is a computer hosting one or more websites.
Hosting a Website.
"Hosting" means that all the web pages and their supporting files are available on that computer. The web server will send any web page from the website it is hosting to any user's browser, per user request.
A web server, hosting a website has to store the website's files, namely all HTML documents and their related assets, including images, CSS stylesheets, JavaScript files, fonts, and videos.
Technically, you could host all those files on your own computer, but it's far more convenient to store them all on a dedicated web server that