/htdocs

/htdocs is the directory accessible directly via http request. In other words - it is the directory pointed by DocumentRoot apache directive in your VirtualHost definition.

/htdocs is the place for:

You can get the full absolute path to /htdocs_dir by

$WSC->get_htdocs_dir();
in global scope or
$this->get__config()->get_htdocs_dir();
in page scope.

/htdocs/ajax

Place for AJAX interceptors.

/htdocs/css

Place for CSS files

/htdocs/img

Place for image files - jpg, png, gif, etc.

/htdocs/js

Place for javascript files and libraries.

/htdocs/media

Place for flash and other media files such as sound files, etc.