Choose Font Colors 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.

To successfully run this example, first copy it to your computer, then open the page from there.

This HTML editor is a DIV element set to be content-editable. You can choose the font color you want to use, or create custom colors.



Click the button to choose a font color using the choose color dialog.


Your browser does not support ActiveX or your security settings prevent scripting of ActiveX

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.