FP: FrontPage Editor Deletes Unknown Attributes in HTML

Last reviewed: March 18, 1998
Article ID: Q161420
The information in this article applies to:
  • Microsoft FrontPage 98 For Windows
  • Microsoft FrontPage 97 for Windows with Bonus Pack

SYMPTOMS

When the FrontPage Editor parses HTML, there are certain tags for which unknown attributes are discarded.

CAUSE

FrontPage normalizes HTML to the HTML 2.0 specification (RFC 1866), or, where the 2.0 specification is superceded, to the HTML 3.2 proposal.

WORKAROUND

If you want to write HTML with unknown attributes to tags identified in the "More Information" section of this article, put the entire tag into an HTML Markup section.

To insert an HTML Markup section, use the appropriate method.

Microsoft FrontPage 98

  1. On the Insert menu, click FrontPage Component.

  2. In the Select A Component list, click HTML Markup.

  3. Click OK.

  4. Type the HTML you want and then click OK.

Microsoft FrontPage 97

  1. On the Insert menu, click HTML Markup.

  2. Type the HTML you want and then click OK.

MORE INFORMATION

The FrontPage Editor knows about a certain set of attributes for each HTML tag it can write. These known attributes are preserved by the FrontPage Editor. You can manipulate them using dialog boxes and direct manipulation in the HTML Markup dialog box in FrontPage 98 (or the "View or Edit HTML" dialog box in FrontPage 97). When the FrontPage Editor encounters an attribute it does not recognize, it attempts to put that attribute and its value into the extended attribute list for that tag. Any tag for which the FrontPage Editor preserves extended attributes will include an Extended button in its Properties dialog box. The attribute list is preserved by the FrontPage Editor in its extended attributes list for that tag and is inserted into the final HTML.

Not all tags have extended attribute lists in FrontPage. The following HTML tags do not have an extended attribute list in FrontPage Editor:

   AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLINK, CENTER, CITE, CODE,
   DFN, DIV, EM, FONT, HEAD, HTML, MAP, META, NEXTID, NOFRAMES,
   OPTION, SAMP, SCRIPT, SMALL, STRIKE, S, STRONG, SUB, SUP, TITLE,
   TT, U, VAR, NOEMBED, PARAM.

When you work with these tags, unrecognized attributes are discarded by the FrontPage Editor.


Additional query words:
Keywords : kbusage kbdta
Version : windows:97,98
Platform : WINDOWS
Hardware : x86
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.