Microsoft KB Archive/161420

= FP97: FrontPage Editor Deletes Unknown Attributes in HTML =

Article ID: 161420

Article Last Modified on 10/1/2001

-

APPLIES TO


 * Microsoft FrontPage 97 Standard Edition

-



This article was previously published under Q161420



For a Microsoft FrontPage 98 version of this article, see 194234.



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.



MORE INFORMATION
FrontPage Editor knows about a certain set of attributes for each HTML tag it can write. These known attributes are preserved by FrontPage Editor. You can manipulate them using dialog boxes and direct manipulation in the "View or Edit HTML" dialog box in FrontPage 97. When 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 FrontPage Editor.



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 do the following:
 * 1) On the Insert menu, click HTML Markup.
 * 2) Type the HTML you want and then click OK.

Keywords: kbprb kbusage KB161420

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.