Almost all of the wide range of abilites found in the tidy extension can be controlled by setting the values of tidy configuration options. These options can be set by:

NOTE: You can access a list of all of the tidy configuration options in the output of phpinfo()