HTML tutorial

How the browser gets web pages?

Each time you open a browser, you get to a website that can consist of one or many Web pages with different information. The main technology for creating such web pages is the HTML language.

For common understanding, let's look at a little theory about how the browser gets Web pages and what a Web server is. To get a Web page, you need to create a file written in HTML and place it on a Web server. After you have placed the created file on a Web server, any browser will be able to find your Web page via the Internet. A Web server is a regular computer with Internet access that runs continuously and waits for requests from browsers. Any server stores Web pages, pictures, audio files, and other file types. When the server receives a request from the browser for a resource (images, Web pages, etc.), it finds the resource (if it can determine the location of the resource) and sends it to the browser.

взаимодействие браузера с веб-сервером

You already know how the browser works: you wander through various sites on the Internet, clicking on links to go to different pages. Such a click is a reason for your browser to make a request to the HTML page to the Web server, received a response to your request and reflected this page in its window.

But how does the browser know how to display a page? This is where the HTML language starts working. It tells the browser everything about the content and structure of the page. If you do your work well (the code will be written correctly and without errors), your pages will be displayed in the same way in all browsers.

Note: Browser - software used to view websites, that is to request Web pages (mainly from the Internet), their processing, output in the browser window and transition from one page to another. The most popular browsers are: Internet Explorer, Mozilla Firefox, Google Chrome, Safari, Opera.

Please note: during the training you do not have to upload any pages to the Web server, everything will work well on your local computer.

How to change page size in browser?

For easy viewing of some pages in the browser (or pictures), their size can be increased or reduced.

To zoom out the page, press the Ctrl key on the keyboard, and press the key - so many times until the Web page is reduced to the size you want (Ctrl + -). To zoom in on the page, press the Ctrl key on the keyboard and press + as many times as the Web page does not increase to the size you want (Ctrl + +). Instead of pressing the - and + keys you can use the mouse wheel, scrolling it from yourself or yourself.

Note: To return the page scale to its original value (100%), click Ctrl + 0.

Copying materials from this site is possible only with the permission of the site administration and
when you specify a direct active link to the source.
2011-2018 © | ruen