| Applies to |
| Microsoft FrontPage® 2002 |
Although FrontPage 2002 usually preserves HTML code that you create, you might notice some instances where attributes are added to HTML tags.
The following table identifies these attributes and explains why they are added to HTML tags in FrontPage:
| Tag |
Attribute(s) added |
Why? |
| <IMG> |
HEIGHT, WIDTH |
HEIGHT and WIDTH attributes are added to <IMG> tags by FrontPage to ensure that browsers can begin to display the page layout correctly, even before the images have been loaded. |
| <INPUT> |
SIZE |
Without a SIZE attribute in <INPUT>, some browsers might render text boxes too narrow to effectively enter text. |
| <TEXTAREA> |
COLS |
Without a COLS attribute in <TEXTAREA>, some browsers might render text areas too narrow to effectively enter text. |
| <OBJECT> |
HEIGHT, WIDTH |
HEIGHT and WIDTH attributes are added to <OBJECT> to ensure that the object is visible in the Web browser. |
| <APPLET> |
HEIGHT, WIDTH |
HEIGHT and WIDTH attributes are added to <APPLET> to ensure that the applet is visible in the Web browser. |
| <EMBED> |
HEIGHT, WIDTH |
HEIGHT and WIDTH attributes are added to <EMBED> to ensure that the plug-in is visible in the Web browser. |
| <FRAMESET> |
COLS, ROWS |
COLS and ROWS attributes are added to <FRAMESET> to automatically define the height and width of the columns and rows in the frameset. |