Optimizing HTML
Sometimes Web developers leave things in Web pages, such as comments, whitespace, and other HTML attributes, which have no value to visitors. FrontPage allows you to optimize your HTML code when you publish a Web site or Web page or when you are working on a page in Design view. Optimizing HTML code makes the code easier to read and faster to download on the Web. FrontPage is more aggressive optimizing individual pages in Design view. If the changes cause problems you can undo the change.
Optimize Published HTML Code
| Open the Web site you want to optimize, click the View menu' and then click Remote Web Site. |
| Click the Remote Web Site Properties button. |
| Click the Optimize HTML tab. |
| Select the When Publishing, Optimize HTML By Removing The Following Elements check box. |
| Click the options you want. Some of the common ones include: |
| Click OK. |
Optimize HTML Code in Design View
| Open the Web page in which you want to optimize in Design view. |
| Click the Tools menu, and then click Optimize HTML. |
| Select the check boxes with the settings you want to optimize. Some of the common options include: |
All HTML Comments.
Select to remove all comments; selects all the comments check boxes.
Merge Adjacent Tags.
Select to combine multiple tags into one.
Empty Tags.
Select to remove tags with no content.
Unused Styles.
Select to remove unused styles.
Word HTML.
Select to remove extra HTML elements from Microsoft Word.
| Click OK. |
|