If you're using Gimp or Photoshop you set it when you create a new file (or can change it through the "Image" settings [PS]). Default is 72dpi and that's basically the default for screen/web.