Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Optimize the source code of a site

Optimize the source code of a site

Microsoft Expression Web can remove specified HTML code from your pages when you publish your site from the local site to the remote site. Changes appear only in the remote site; your local site is not affected. For information about optimizing HTML code in individual pages or in your local site, see Optimize the source code of a single page.


You have to publish your site after you make changes to the optimization options for the changes to take effect in your published site.

  1. In Publishing view, click Publishing settings.

  2. On the Publishing tab, select Optimize HTML during publishing.

  3. Click Customize, and then select the items that you want removed from the page.

  4. To set your options as the default, click Set as default.


    To restore default options, click Restore Defaults.

Community Additions

© 2015 Microsoft