ankitweblogic logo
W e b t u t o r i a l s

HTML Tutorial

Define Website

Define HTML

HTML, Head, Title tag

HTML Body tag

HTML Heading tags

HTML Paragraph tag

HTML Horizontal Line

HTML Hyperlink

HTML Image tag

HTML Font tag

HTML Exercise

HTML Text Direction

HTML Comment

HTML Lists

HTML Marquee tag

HTML Table tag

HTML Table Website

HTML Frame

HTML Iframe

HTML Fieldset tag

HTML Form Elements

HTML Form Exercise

HTML Image Map

HTML Div & Span Tag

CSS Float & Clear

HTML Color Codes

HTML Symbols

HTML Assignment

Define Website

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.
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 use to manage session and cookies, storing and retrieving data from database etc. Example of Dynamic website are e-commerce sites, online form application, job portal sites, social networking sites 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.
Updated: 27-Oct-18