• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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:

  • All HTML Comments. Select to remove all comments; selects all the comments check boxes.

  • HTML Whitespace. Select either check box to remove leading or all whitespace.

Click OK.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint