A website is a way to deliver information to the users which are connected with it. The contents 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 webpage 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, a website 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. User cannot change the content of web page while page is running on the user's browser. This kind of web sites are created using HTML and CSS technology. Example of static websites are informative website, tutorial website etc.
Difference between Static Website and Dynamic Website
|S.No||Static websites||Dynamic websites|
|1.||Static websites contain fixed number of pages.||Dynamic websites can create webpage dynamically.|
|2.||Theme and content of webpage is fixed.||Theme and content of webpage may change on run time.|
|3.||Static websites load quickly on clients browser because it contain some markup code.||Dynamic websites take some time to load on clients browser because it process the request on server.|
|4.||Static sites never use database connectivity.||Dynamic sites can deal with database and generate the contents dynamic using database queries.|
|5.||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 clients browser in the form of HTML. Dynamic website are created using PHP, Asp.NET, JSP, Python etc.|
|6.||Static websites are easy to develop and a bit experienced people can develop it.||Dynamic websites are not easy to develop because they need qualified developer to create it, manage it, test it and maintain security of application and database.|
|7.||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 facilities that is possible to change the page content using server application. And need to change on only once.|