Website
A website is a document available on the World Wide Web under a specific URL and displayed in a web browser. It consists of HTML code that defines the structure and content, CSS stylesheets that control the appearance, and JavaScript that adds interactivity. A website is the basic unit from which entire sites and web applications are built.
How a website works
Displaying a page begins when a user types a URL or clicks a link. The browser resolves the domain name into the server's IP address through the DNS system, then sends a request over the HTTP or HTTPS protocol. The web server returns the page's files, which the browser downloads and assembles into a finished view:
- HTML creates the skeleton — headings, paragraphs, lists, images and links;
- CSS defines the look — colors, fonts, layout and responsiveness;
- JavaScript adds interaction — menus, forms, animations and data loading.
Pages fall into two groups: static, whose content is fixed in files, and dynamic, generated on the server on every request, most often by a CMS and a database.
Practical application
Websites serve many roles: a company business card, an online store, a blog, a news portal or an application panel. A simple company site can be a set of static files, while a large store is a dynamic application built on a framework and a database. For a site to be reachable by users, its files must be placed on hosting, and the domain must be pointed at the server through DNS records.
Modern websites are designed with accessibility, loading speed and mobile display in mind. Server response time, image optimization and a correctly configured SSL certificate that provides an encrypted HTTPS connection all matter. A well-built site is also search-engine friendly, which translates into visibility in organic search results and more traffic.
Powiązane pojęcia
Najczęstsze pytania
What is the difference between a web page and a website?
A single web page is one document available under a specific URL. A website is a collection of related pages served under one domain, connected by navigation and a shared structure. In everyday language the two terms are often used interchangeably.
What is needed to make a website work online?
Publishing a site requires three things: the site's files, hosting — a place on a server where those files are stored — and a domain that points to that server through DNS records. For a secure connection you also need an SSL certificate that provides HTTPS encryption.
