From 4b1a9203c547c019fc5398082ae19a3f3d4c3efe Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:15 -0500 Subject: initial commit --- .../global_attributes/contenteditable/index.html | 107 +++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 files/ca/web/html/global_attributes/contenteditable/index.html (limited to 'files/ca/web/html/global_attributes/contenteditable/index.html') diff --git a/files/ca/web/html/global_attributes/contenteditable/index.html b/files/ca/web/html/global_attributes/contenteditable/index.html new file mode 100644 index 0000000000..10fb43c949 --- /dev/null +++ b/files/ca/web/html/global_attributes/contenteditable/index.html @@ -0,0 +1,107 @@ +--- +title: contenteditable +slug: Web/HTML/Global_attributes/contenteditable +tags: + - Global attributes + - HTML + - Reference +translation_of: Web/HTML/Global_attributes/contenteditable +--- +

{{HTMLSidebar("Global_attributes")}}

+ +

L'atribut global contenteditable és un atribut enumerat que indica si l'element ha de ser modificable per l'usuari. Si és així, el navegador modifica el seu widget per permetre l'edició. L'atribut ha de prendre un dels següents valors:

+ + + +

Si aquest atribut no està definit, el seu valor per defecte és heretat del seu element pare.

+ +

Aquest és un atribut enumerat i no un booleà. Això vol dir que l'ús explícit d'un dels valors true, false o empty string és obligatori i que no està permès una forma abreujada com <label contenteditable> Exemple d'etiqueta </label> . L'ús correcte és <label contenteditable="true"> Exemple d'etiqueta </label> .

+ +

Especificacions

+ + + + + + + + + + + + + + + + + + + + + + + + +
EspecificacióEstatComentari
{{SpecName('HTML WHATWG', "editing.html#attr-contenteditable", "contenteditable")}}{{Spec2('HTML WHATWG')}}Sense canvis des de l'última instantània, {{SpecName('HTML5.1')}}
{{SpecName('HTML5.1', "editing.html#attr-contenteditable", "contenteditable")}}{{Spec2('HTML5.1')}}Instantània de {{SpecName('HTML WHATWG')}}, sense canvis des de {{SpecName('HTML5 W3C')}}
{{SpecName('HTML5 W3C', "editing.html#attr-contenteditable", "contenteditable")}}{{Spec2('HTML5 W3C')}}Instantània de   {{SpecName('HTML WHATWG')}}, definició inicial.
+ + + +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Suport bàsic{{ CompatVersionUnknown() }}{{ CompatGeckoDesktop("1.9") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
CaracterísticaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Suport bàsic{{ CompatVersionUnknown() }}{{ CompatGeckoMobile("1.9") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
+
+ +

Veure

+ + -- cgit v1.2.3-54-g00ecf