These protocols offer a simple directory structure which the user navigates and chooses files to download. Documents were most often presented as plain text files without formatting, or were encoded in word processor formats. Overview Websites have many functions and can be used in various fashions; a website can be a personal website , a commercial website, a government website or a non-profit organization website. Websites can be the work of an individual, a business or other organization, and are typically dedicated to a particular topic or purpose.
Any website can contain a hyperlink to any other website, so the distinction between individual sites, as perceived by the user, can be blurred. Web pages can be viewed or otherwise accessed from a range of computer -based and Internet-enabled devices of various sizes, including desktop computers, laptops , tablet computers and smartphones.
These terms can also refer to the software that runs on these systems which retrieves and delivers the web pages in response to requests from the website's users. Apache is the most commonly used web server software according to Netcraft statistics and Microsoft 's IIS is also commonly used.
Some alternatives, such as Nginx , Lighttpd , Hiawatha or Cherokee , are fully functional and lightweight. Static website Main article: Static web page A static website is one that has web pages stored on the server in the format that is sent to a client web browser. Images are commonly used to effect the desired appearance and as part of the main content. Audio or video might also be considered "static" content if it plays automatically or is generally non-interactive.
This type of website usually displays the same information to all visitors. Similar to handing out a printed brochure to customers or clients, a static website will generally provide consistent, standard information for an extended period of time.
Although the website owner may make updates periodically, it is a manual process to edit the text, photos and other content and may require basic website design skills and software. Simple forms or marketing examples of websites, such as classic website, a five-page website or a brochure website are often static websites, because they present pre-defined, static information to the user. Static websites can be edited using four broad categories of software: Template-based editors such as iWeb allow users to create and upload web pages to a web server without detailed HTML knowledge, as they pick a suitable template from a palette and add pictures and text to it in a desktop publishing fashion without direct manipulation of HTML code.
Static websites may still use server side includes SSI as an editing convenience, such as sharing a common menu bar across many pages. As the site's behaviour to the reader is still static, this is not considered a dynamic site.
Dynamic website Main articles: Dynamic web page and Web application A dynamic website is one that changes or customizes itself frequently and automatically. Server-side dynamic pages are generated "on the fly" by computer code that produces the HTML CSS are responsible for appearance and thus, are static files.
Various web application frameworks and web template systems are available for general-use programming languages like Perl , PHP , Python and Ruby to make it faster and easier to create complex dynamic websites.
A site can display the current state of a dialogue between users, monitor a changing situation, or provide information in some way personalized to the requirements of the individual user.
For example, when the front page of a news site is requested, the code running on the web server might combine stored HTML fragments with news stories retrieved from a database or another website via RSS to produce a page that includes the latest information.
Dynamic sites can be interactive by using HTML forms , storing and reading back browser cookies , or by creating a series of pages that reflect the previous history of clicks. Another example of dynamic content is when a retail website with a database of media products allows a user to input a search request, e. In response, the content of the web page will spontaneously change the way it looked before, and will then display a list of Beatles products like CDs, DVDs and books.
One way to simulate a certain type of dynamic website while avoiding the performance loss of initiating the dynamic engine on a per-user or per-connection basis, is to periodically automatically regenerate a large series of static pages.
Multimedia and interactive content Early websites had only text, and soon after, images. Web browser plug ins were then used to add audio, video, and interactivity such as for a rich Internet application that mirrors the complexity of a desktop application like a word processor.
These websites change their layout according to the device or mobile platform thus giving a rich user experience. Types Websites can be divided into two broad categories—static and interactive. Interactive sites are part of the Web 2. Static sites serve or capture information but do not allow engagement with the audience or users directly.
Some websites are informational or produced by enthusiasts or for personal use or entertainment. Many websites do aim to make money, using one or more business models, including: Posting interesting content and selling contextual advertising either through direct sales or through an advertising network.
There are many varieties of websites, each specializing in a particular type of content or use, and they may be arbitrarily classified in any number of ways. A few such classifications might include: Click "show" or "hide" to toggle this table Type of Website.