asp.net.ph

Skip Navigation Links

HTMLAREA Element | HTMLAREA Object

Language References


Functions as a multiline HTML control with both a run mode and design mode.

HTML Syntax

Remarks

The HTMLAREA element is analogous to the TEXTAREA, with the addition of the capability to display HTML. The HTMLAREA object defaults to design mode. In design mode, the user can resize objects, edit text, and fire events. Set the readOnly property to false to switch into run mode. In run mode, the object is a container and behaves much like the DIV object. Events bubble up to container level and objects within the HTMLAREA object inherit CSS styles from it.

The HTMLAREA can contain all HTML elements.

When submitted on a form, HTMLAREA passes on any HTML source code it contains.

As with any container, the upper-left corner of the HTMLAREA object is the 0,0 point of orientation for absolutely positioned elements contained within.

Members

HTMLAREA Members

Example

The example demonstrates how to use the HTMLAREA object as an editor.

Sample Code


Can Contain

All HTML elements.



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note