You need three components to keep your site online:
domain name (site name);
hosting (space for the site on the server);
content (actual content of the site).
Types of sites
Business card site
It consists of one or more pages and is designed to provide basic information about the owner's activities and contact information.
This is detailed information about the company, the range of goods or services generally offered.
Such a site sells goods or services via the Internet, includes a product catalog, an interface that allows you to order and pay.
Notes (text, images, multimedia) are regularly added to the content of the site, in other words, it is an online diary.
Such a site is full of various services (mail, news, weather, entertainment, etc.) to attract and retain the most visitors.
This includes materials on a specific topic: articles, books, audio and video documents. The purpose of such a site is to attract visitors who share common interests.
Web Development Technologies
Given that sites can be developed in different ways, we will look at what a site can consist of.
A site can be a collection of HTML-based pages that contain elements of hypertext markup language that are responsible for presenting text, graphics, and pages in a browser. Such a site only displays the content of these pages and does not use additional scripts to create pages. The site is static, ie the user sees the site unchanged with each call. Changes are made manually directly in the program code of the site.
PHP and other programming languages
Many sites are written in PHP (Hypertext Preprocessor) - a programming language specifically designed to write web scripts that run on the side of a web server. Thus, if a site is built using PHP, it will consist of a set of documents containing scripts for execution. This allows the site to be created dynamically - content will be created depending on the user's actions on the site. In addition to the widespread PHP, other technologies are used for Internet resources - Perl, Python, Ruby, ASP.NET, etc.