HTML CSS Reference/HTML Attributes Reference/contenteditable — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 09:21, 26 мая 2010
Содержание
"contenteditable" Example
<HTML>
<head><Title>Example For contenteditable</Title></head>
<BODY>
<p contenteditable="true">contenteditable</p>
</BODY>
</HTML>
contenteditable is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<a> <acronym> |
| |<address> <b> |
| |<bdo> <big> |
| |<blockquote> <body> |
| |<button> <center> |
| |<cite> <code> |
| |<custom> <dd> |
| |<del> <dfn> |
| |<dir> <div> |
| |<dl> <dt> |
| |<em> <fieldset> |
| |<font> <form> |
| |<hn> <i> |
| |<input type="button"> <inputtype="password"> |
| |<input type="radio"> <input type="reset"> |
| |<inputtype="submit"> <input type="text"> |
| |<ins> <isindex> |
| |<kbd> <label> |
| |<legend> <li> |
| |<listing> <marquee> |
| |<menu> <nobr> |
| |<object> <ol> |
| |<p> <pre> |
| |<q> <rt> |
| |<ruby> <s> |
| |<samp> <small> |
| |<span> <strike> |
| |<strong> <sub> |
| |<sup> <textarea> |
| |<tt> <u> |
| |<ul> <var> |
| |<xmp> |
+----------------+--------------------------------------------------------------+
contenteditable Possible Values
Possible Values
inherit The setting should be determined by the element"s parent object.
This is the default value.
false The contents of the element cannot be modified.
true The contents of the element can be modified.
"contenteditable" Syntax and Note
Note:
This attribute determines whether an element can be edited or not.
Syntax:
<element contenteditable="value" > . . . </element>