Directory
We use directories to organize files into a hierarchical tree-like system.
  • collect files together into groups and store each group in its own directory.
  • Since directories are themselves files, a directory can contain other directories, which creates the hierarchy.
Computer file types
Computers store all files as binary date (strings of 0s and 1s). Files represent different types of data, images, videos, documents, directories, applications, etc. Each file has a type (format), often reflected in its file extension.
List of file formats (wikipedia)
Text files
Plain Text files are created and manipulated by all text editors. They may require over tools to view (present), such as a browser. Examples: .html .css .js .txt .md .xml
Image
Image file types, which are supported in all browsers (Chrome, Edge, Firefox, Safari, Opera):
Multimedia
Multimedia on the web is sound, music, videos, movies, and animations. Media requires special tools (applications) to create, manipulate, display.