The text files that make a website
The basic web page contains two types of text file: a 'CSS' file and at least one 'HTML' file.
- CSS file: This is also a text file, but saved with the 'css' file extension (e.g. style.css). It contains details of the page layout and the text styling, so it is frequently known as a 'stylesheet'. (CSS stands for 'cascading style sheets'.)
- HTML file: This is also a text file, but saved with the 'htm' file extension. This contains the page content. Most websites have multiple pages – each being a separate HTML file. (HTML stands for 'hyper text markup language'.)
Most websites have other files as well, such as images.