• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter FOUR. Advanced Page Editing > TIP 88: Adding Missing End Tags with the ...

TIP 88: Adding Missing End Tags with the Outline Editor

When you run the Syntax Checker (see Tip 84) to validate your source code, you might get an occasional warning that the closing end tag for an element is missing (Figure 88a). This means the opening tag of a pair such as a table, multimedia object, or layer is missing the required end tag. There are some elements such as <img> and <meta> that don't need a closing tag, but these are exceptions to the rule.

Figure 88a. The Syntax Checker warns you of missing end tags.


If you need to fix a missing end tag error, switch to the Outline Editor instead of wading through lines of lines of source code trying to locate the problem. You can easily toggle an element in the Outline Editor from unary (no closing tag) to binary (closing tag) by Control-clicking (Mac) or right-clicking (Windows) on the element and choosing Binary from the contextual menu (Figure 88b).

Figure 88b. Add the closing tag by choosing Binary from the contextual menu.


You can also toggle from unary to binary with the Toggle Binary icon in the toolbar. GoLive is smart enough to determine where the closing tag of a binary pair should be placed in the page and creates it in the correct location.

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