Choose Block Format Sample

This example demonstrates the features of Microsoft® Internet Explorer that enable users to edit the content of an HTML element directly from the browser.

This HTML editor is a DIV element set to be content-editable. The drop-down list box allows users to choose from a set of system-supported fonts. A simple command changes the block format of the selected text.



Select this text and choose a block format style.


To view the source code, right-click this page and choose View Source from the shortcut menu that appears.

© 2007 Microsoft Corporation. All rights reserved. Terms of use.