make compatibly for html and htm
fix #26, make all target arguments as string