Bitesize has changed! We're updating subjects as fast as we can. Visit our new site to find Bitesize guides and clips - and tell us what you think!
Print

DiDA

Websites

Files and folders

File names

Webpages need file names. This allows you and visitors to your website to identify each webpage.

There are several rules you need to stick to when naming webpage files.

  • Always use lowercase file names.
  • Use correct file extension names, eg .htm .html or .shtml.
  • Do not use symbols, eg +, &, % in file names.
  • Do no put spaces in your file or folder name. Use either dashes (-) or underscores (_)
  • Name your files sensibly. Video_intro.shtml, video_movie.shtm are easier to identify than page1.shtml, page2.shtml etc.

File and folder structure

  • Keep html, image, flash and other media files in separate folders.
  • Put images in a folder called images, put audio files in a folder called audio.
  • There should be an index.shtml file in the site folder.
  • Do not create folders that contain too many or too few files.

Back to Using ICT index

BBC © 2014 The BBC is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.