HTML CSS Reference/HTML Attributes Reference/contenteditable — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
м (1 версия)
 
(нет различий)

Текущая версия на 11:20, 26 мая 2010

"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>