HTML CSS Reference/HTML Attributes Reference/contenteditable

Материал из Web эксперт
Версия от 11:20, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"contenteditable" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For contenteditable</Title></head> <BODY>

contenteditable

</BODY> </HTML>


     </source>
   
  


contenteditable is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> | | | |

| |
<body> | | |<button>
|

| | | | |<custom>

| | | |

| |<dir>
| | |
| | | <fieldset> | | | <form> | | |<hn> | | |<input type="button"> <inputtype="password"> | | |<input type="radio"> <input type="reset"> | | |<inputtype="submit"> <input type="text"> | | | <isindex> | | | <label> | | |<legend>
  • | | |<listing> <marquee> | | |<menu> <nobr> | | |<object>
      | | |

                               |
      |                |                                                       |
      |                |                                                     |
      |                |                                                 |
      |                |                                                |
      |                |                                                 |
      |                |                           <textarea>                    |
      |                |                                                       |
      |                |
        | | |<xmp> | +----------------+--------------------------------------------------------------+ </source>

        contenteditable Possible Values

        <source lang="html4strict"> 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.


        </source>



        "contenteditable" Syntax and Note

        <source lang="html4strict"> Note:

        This attribute determines whether an element can be edited or not.

        Syntax:

        <element contenteditable="value" > . . . </element>


        </source>