What's a Web Page?

At the most basic level, a web page consists of a text document and a web browser. The text document, or your content, is written in a language called HTML (Hyper Text Markup Language). Your browser is able to read that file and render the HTML markup.

The file

my web page

The HTML inside the file

<p>Hello.</p> 

The file opened in a web browser

browser

That’s it. That’s a web page.

No Server Needed

You’ll notice the example web page is running on its own. Since front-end languages are processed in the browser you don’t need to have any servers to render the code or compilers to translate anything. When you load a web page in your browser, you are running your code (the HTML, CSS, and JavaScript) inside an execution environment (the browser tab).

In fact since the browser just downloads the html, css, javascript (and any media) files you can view the source of the files.

Try it yourself. Right click anywhere on this page and in the menu that appears select “View Page Source”.

View the source of the page