Define Website

HTML is use for creating a website, before start learning with HTML, let us understand what a website is:

A website is a way to deliver information to the users which are connected with it. The content of a website is stored in a place called web server, indicating a single domain. Generally, a domain name is known as URL (Universal Resource Locator) or (Uniform Resource Locator) of that web server. User sends a request to the server via web protocol HTTP/HTTPS, then, the web server respond to the user's request. This response is a file or a page known as web page, this type of web page is created by using markup language like HTML, which holds the information in the form of text, images, animation, links, audio, video etc.

So one line definition of a website is:
"A website is a collection of web pages which delivers information to the user, from the web server over the network".

Generally, websites is divided into two categories, i.e. Static and Dynamic.

  1. Static website: contain fixed number of pages and format, which delivers information to the user. A User cannot change the content of webpage while page is running on the user's browser. These kinds of websites is created using HTML and CSS technology. Example of static websites are informative websites, tutorial website etc.
  2. Dynamic websites: can change the web page contents while the page is running on the user's browser. This kind of websites is created using any client side scripting language like JavaScript, and server side scripting language like PHP, ASP.NET, JSP etc. Client side scripting language is use to prepare dynamic design, handling events etc. and server-side scripting language is used to manage session and cookies, storing and retrieving data from database etc. Examples of Dynamic website are e-commerce sites, on-line form application, job portal sites, social networking sites etc.
Difference between Static Website and Dynamic Website
S.No Static websites Dynamic websites
Static websites contain a fixed number of pages. Dynamic websites can create web page dynamically.
Theme and content of a web page is fixed. Theme and content of a web page may change on run time.
Static websites load quickly on client's browser because it has some markup code. Dynamic websites take some time to load on client's browser because it processes the request on server.
Static sites never use database connectivity. Dynamic sites can deal with database and generate the contents dynamic using database queries.
Static website directly run on browser and does not need other server application language. Static website are created using HTML and CSS. Dynamic website run the application on server and the output will display on client's browser in the form of HTML. Dynamic website are created using PHP, Asp.NET, JSP, Python etc.
Static websites are easy to develop, and a bit of experienced people can develop it. Dynamic websites are not easy to develop, it required qualified developers to create, manage, test and maintain security of application and database.
In static website if we want to change the page content then we have to make changes many times on many pages. Dynamic websites provide the facility to change the page content using a server application. And need to change on only once.

Advantages of Web Application

  1. Web application just need to be installed only on the web server, whereas desktop application need to be installed on every computer where you want to access them.
  2. Maintenance, support is easier to provide.
  3. Only a browser is required on the client machine to access a web application.
  4. Accessible from anywhere, just you need an Internet connection.
  5. Cross platform - can run on any operating system.