Skip to content

What is a file?

A file is one saved piece of work on your computer, like a photo or a page of code. Its name usually ends with a short tag that shows its type, such as .html or .jpg.

An example

A simple website might be three files: index.html for the words, style.css for the look, and script.js for clicks.

Where you’ll meet it