From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- files/it/web/html/global_attributes/id/index.html | 109 ------ files/it/web/html/global_attributes/index.html | 444 ---------------------- 2 files changed, 553 deletions(-) delete mode 100644 files/it/web/html/global_attributes/id/index.html delete mode 100644 files/it/web/html/global_attributes/index.html (limited to 'files/it/web/html/global_attributes') diff --git a/files/it/web/html/global_attributes/id/index.html b/files/it/web/html/global_attributes/id/index.html deleted file mode 100644 index e6ec20cfda..0000000000 --- a/files/it/web/html/global_attributes/id/index.html +++ /dev/null @@ -1,109 +0,0 @@ ---- -title: id -slug: Web/HTML/Global_attributes/id -translation_of: Web/HTML/Global_attributes/id ---- -
{{HTMLSidebar("Global_attributes")}}
- -

L' attributo globale id definisce un identificatore univoco(ID) che deve esser univoco nell'intero documento. Il suo scopo è quello di identificare l'elemento in un collegamento(using a fragment identifier), negli script, o nella parte grafica (con i CSS).

- -

Il valore di questo attributo è una "stringa opaca": questo significa che l'autore non lo utilizza per comunicare informazioni. Particular meaning, for example semantic meaning, must not be derived from the string.

- -

Il valore di questo attributo non deve contenere whitespace (spazi, tab etc.). I browser trattano i whitespace che sono nell'ID come se ne facessero parte. Al contrario dell'attributo class, che permette valori separati da uno spazio, ogni elemento puo avere soltanto un ID.

- -
-

Nota: Usando caratteri al di fuori delle lettere, numeri, '_', '-' e '.' , può causare problemi di compatibilità, dato che loro non sono permessi nell'HTML 4. Anche questa restrizione è stata rimossa nell'HTML 5, un id dovrebbe iniziare con una lettera per compatibilità.

-
- -

Specifications

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('HTML WHATWG', "dom.html#the-id-attribute", "id")}}{{Spec2('HTML WHATWG')}}No change from latest snapshot, {{SpecName('HTML5.1')}}
{{SpecName('HTML5.1', "dom.html#the-id-attribute", "id")}}{{Spec2('HTML5.1')}}Snapshot of {{SpecName('HTML WHATWG')}}, no change from {{SpecName('HTML5 W3C')}}
{{SpecName('HTML5 W3C', "dom.html#the-id-attribute", "id")}}{{Spec2('HTML5 W3C')}}Snapshot of {{SpecName('HTML WHATWG')}}, now accept '_', '-' and '.' if not at the beginning fo the id. It is also a true global attribute.
{{SpecName('HTML4.01', 'struct/global.html#adef-id', 'id')}}{{Spec2('HTML4.01')}}Supported on all elements but {{HTMLElement("base")}}, {{HTMLElement("head")}}, {{HTMLElement("html")}}, {{HTMLElement("meta")}}, {{HTMLElement("script")}}, {{HTMLElement("style")}}, and {{HTMLElement("title")}}.
- -

Browser compatibility

- -

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}[1]{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}[1]{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

[1] id is a true global attribute only since Gecko 32.0 {{geckoRelease("32.0")}}.

- -

See also

- - diff --git a/files/it/web/html/global_attributes/index.html b/files/it/web/html/global_attributes/index.html deleted file mode 100644 index a8424e5827..0000000000 --- a/files/it/web/html/global_attributes/index.html +++ /dev/null @@ -1,444 +0,0 @@ ---- -title: Attributi globali -slug: Web/HTML/Global_attributes -translation_of: Web/HTML/Global_attributes ---- -

HTML definisce alcuni attributi che sono comuni a tutti gli elementi HTML . Questi atttributi possono essere utilizzati su tutti gli elementi, anche se gli attributi possono non avere effetti su alcuni elemento.

-
-

Nota d'uso: La specifica HTML5 afferma che gli attributi globali possono essere specificati su tutti gli elementi HTML, anche quelli non specificati in HTML5. Questo significa che tutti gli elementi non-standard devono comunque consentire l'uso di questi attributi, anche se con l'utilizzo di tali elementi,  il documento non è più HTML5-compliant. Per esempio, i browser HTML5-compliant nascondono i contenuti contrassegnati come <foo hidden>...<foo>,anche se <foo> non è un valido elemento HTML.

-
-

accesskey

-

Questo attributo fornisce un suggerimento per generare una scorciatoia da tastiera per l'elemento corrente. Questo attributo è costituito da un elenco separato da spazi di caratteri (un singolo punto Unicode). Il browser dovrebbe utilizzare il primo che esiste sul layout di tastiera del computer.
- {{ HTMLVersionInline(4) }} Nelle precedenti versioni dell'HTML, solo un carattere poteva essere specificato. Inoltre non era un attributo globale e poteva essere applicato solo ai tag {{ HTMLElement("a") }}, {{ HTMLElement("area") }}, {{ HTMLElement("button") }}, {{ HTMLElement("input") }}, {{ HTMLElement("label") }}, {{ HTMLElement("legend") }} and {{ HTMLElement("textarea") }}.

-
- Nota d'uso: L'operazione di attivare l'accesskey dipende dal browser e la piattaforma utilizzata. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 WindowsLinuxMac
FirefoxAlt + Shift + a key -
    -
  • Firefox 14 or newer, Control + Alt + a key
  • -
  • Firefox 13 or older, Control + a key
  • -
-
Internet ExplorerAlt + a keyN/A
Google ChromeAlt + a keyControl + Alt + a key
SafariAlt + a keyN/AControl + Alt + a key
OperaShift + Esc apre una lista dei contenuti che sono accessibili tramite un'accesskey, quindi può scegliere un elemento con una chiave
- Notare che Firefox può personalizzare il tasto richiesto con le preferenze dell'utente
- - - - - - - -
Normative document{{SpecName('HTML WHATWG', "editing.html#the-accesskey-attribute", "accesskey")}} ({{ HTMLVersionInline(4) }}: {{SpecName('HTML4.01', "interact/forms.html#h-17.11.2", "accesskey")}})
-

class

-

Questo attributo è un elenco separato da spazi delle classi dell'elemento. Le classi permettono ai CSS e Javascript di selezionare e accedere a elementi specifici con i selettori di classe o funzioni come il metodo DOM {{domxref("document.getElementsByClassName")}}.

-
-

Nota d'uso: Anche se le specificazoni non pongono requisiti sul nome delle classi, gli sviluppatori del web sono incoraggiati ad usare nomi che descrivono lo scopo semantico dell'elemento, anzichè la presentazione dell'elemento (ad esempio, attributo che descrive un attributo piuttosto che - - corsivo, - anche se un elemento di questa classe può essere presentata dal corsivo). I nomi semantici rimangono logici, anche se la presentazione della pagina cambia.

-
- - - - - - - -
Normative document{{SpecName('HTML WHATWG', "elements.html#classes", "class")}} ({{ HTMLVersionInline(4) }}: {{SpecName('HTML4.01', "struct/global.html#h-7.5.2", "class")}})
-

contenteditable

-

{{ HTMLVersionInline(5) }} {{ Gecko_minversion_inline("1.9") }} This enumerated attribute indicates if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:

- -

If this attribute is not set, its default value is inherited from its parent element.

-
-

Usage note: This attribute is an enumerated one and not a Boolean one. This means that the explicit usage of one of the values true, false or the empty string is mandatory and that a shorthand like <label contenteditable>Example Label</label> is not allowed. The correct usage is <label contenteditable="true">Example Label</label>.

-
- - - - - - - -
Normative document{{specname("HTML WHATWG", "editing.html#attr-contenteditable", "contenteditable")}}
-

contextmenu

-

{{ HTMLVersionInline(5) }} {{ Gecko_minversion_inline("9.0") }} This attribute is related to the new {{specname("HTML WHATWG", "interactive-elements.html", "contextmenu")}}.

-

A context menu is a menu that appears upon user interaction, such as a right-click. HTML5 now allows us to customize this menu. Here are some implementation examples, including nested menus.

-
-

The following HTML...

-
<body contextmenu="share">
-  <menu type="context" id="share">
-    <menu label="share">
-      <menuitem label="Twitter" onclick="window.open('https://twitter.com/intent/tweet?text=Hurray! I am learning ContextMenu from MDN via Mozilla');"></menuitem>
-      <menuitem label="Facebook" onclick="window.open('https://facebook.com/sharer/sharer.php?u=https://https://developer.mozilla.org/en/HTML/Element/Using_HTML_context_menus');"></menuitem>
-    </menu>
-  </menu>
-  <ol>
-    <li>Anywhere in the example you can share the page on Twitter and Facebook using the Share menu from your context menu.</li>
-    <li><pre contextmenu="changeFont" id="fontSizing">On this specific list element, you can change the size of the text by using the "Increase/Decrease font" actions from your context menu</pre></li>
-    <menu type="context" id="changeFont">
-      <menuitem label="Increase Font" onclick="incFont()"></menuitem>
-      <menuitem label="Decrease Font" onclick="decFont()"></menuitem>
-    </menu>
-    <li contextmenu="ChangeImage" id="changeImage">On the image below, you can fire the "Change Image" action in your Context Menu.</li><br />
-    <img src="https://developer.mozilla.org/media/img/promote/promobutton_mdn5.png" contextmenu="ChangeImage" id="promoButton" />
-    <menu type="context" id="ChangeImage">
-      <menuitem label="Change Image" onclick="changeImage()"></menuitem>
-    </menu>
-  </ol>
-</body>
-
- -

...used with this JavaScript...

-
function incFont(){
-  document.getElementById("fontSizing").style.fontSize="larger";
-}
-function decFont(){
-  document.getElementById("fontSizing").style.fontSize="smaller";
-}
-function changeImage(){
-  var j = Math.ceil((Math.random()*39)+1);
-  document.images[0].src="https://developer.mozilla.org/media/img/promote/promobutton_mdn" + j + ".png";
-}
-

...will result in:

-
- {{EmbedLiveSample("ContextMenu_Example",550,200)}}
-
-

data-*

-

{{ HTMLVersionInline(5) }}{{ Gecko_minversion_inline("6.0") }} This class of attributes, called custom data attributes, allows proprietary information to be exchanged between the HTML and its DOM representation that may be used by scripts. All such custom data are available via the {{domxref("HTMLElement")}} interface of the element the attribute is set on. The {{domxref("HTMLElement.dataset")}} property gives access to them.
- The * may be replaced by any name following the production rule of xml names with the following restrictions:

- -

Note that the HTMLElement.dataset attribute is a StringMap and the name of the custom data attribute data-test-value will be accessible via HTMLElement.dataset.testValue as any dash (U+002D) is replaced by the capitalization of the next letter (camelcase).

- - - - - - - -
Normative document{{specname("HTML WHATWG", "elements.html#custom-data-attribute", "data")}}
-

dir

-

This enumerated attribute indicates the directionality of the element's text. It can have the following values:

- -
-

Usage notes:

- -
- - - - - - - -
Normative document{{specname("HTML WHATWG", "elements.html#the-dir-attribute", "dir")}} ({{ HTMLVersionInline(4) }}: {{SpecName('HTML4.01', "struct/dirlang.html#h-8.2", "dir")}})
-

draggable

-

{{ HTMLVersionInline(5) }} {{ Gecko_minversion_inline("1.9.1") }} This enumerated attribute indicates whether the element can be dragged, using the Drag and Drop API. It can have the following values:

- -

If this attribute is not set, its default value is auto, meaning the behavior should be the one defined by default by the browser.

-
-

Usage notes:

- -
- - - - - - - -
Normative documentHTML5, section 3.9.5
-

dropzone

-

{{ HTMLVersionInline(5) }} {{ unimplemented_inline() }} This enumerated attribute indicates what types of content can be dropped on an element, using the Drag and Drop API. It can have the following values:

- - - - - - - - -
Normative documentHTML5, section 8.6.8
-

hidden

-

{{ HTMLVersionInline(5) }} {{ Gecko_minversion_inline("2") }} This Boolean attribute indicates that the element is not yet, or is no longer, relevant. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements.

-
-

Usage notes:

- -
- - - - - - - -
Normative documentHTML5, section 8.1
-

id

-

This attribute defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).

-
-

Usage note:

- -
- - - - - - - -
Normative documentHTML5, section 3.2.3.1 ({{ HTMLVersionInline(4) }}: HTML4.01, section 7.5.2)
-

itemid

-

itemprop

-

itemref

-

itemscope

-

itemtype

-

{{Spec2('HTML WHATWG')}} These attributes are related to the WHATWG HTML Microdata feature. {{ Bug(591467) }}

-

lang

-

This attribute participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in. The tag contains one single entry value in the format defines in the Tags for Identifying Languages (BCP47) IETF document. If the tag content is the empty string the language is set to unknown; if the tag content is not valid, regarding to BCP47, it is set to invalid.

-
-

Usage note:

- -
- - - - - - - -
Normative documentHTML5, section 3.2.3.3({{ HTMLVersionInline(4) }}: HTML4.01, section 8.1)
-

spellcheck

-

{{ HTMLVersionInline(5) }} {{ Gecko_minversion_inline("1.8.1") }} This enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:

- -

If this attribute is not set, its default value is element-type and browser-defined. This default value may also be inherited, which means that the element content will be checked for spelling errors only if its nearest ancestor has a spellcheck state of true.
-
- You can consult this article to see a comprehensive example of the use of this attribute.

-
-

Usage notes:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Browser{{ HTMLElement("html") }}{{ HTMLElement("textarea") }}{{ HTMLElement("input") }}othersComment
FirefoxfalsefalsefalseinheritedWhen layout.spellcheckDefault is 0
falsetrueinheritedinheritedWhen layout.spellcheckDefault is 1 (default value)
falsetruetrueinheritedWhen layout.spellcheckDefault is 2
SeamonkeyfalsefalsefalseinheritedWhen layout.spellcheckDefault is 0
falsetrueinheritedinheritedWhen layout.spellcheckDefault is 1 (default value)
falsetruetrueinheritedWhen layout.spellcheckDefault is 2
CaminofalsefalsefalseinheritedWhen layout.spellcheckDefault is 0
falsetrueinheritedinheritedWhen layout.spellcheckDefault is 1
falsetruetrueinheritedWhen layout.spellcheckDefault is 2 (default value)
-
- - - - - - - -
Normative documentHTML5, section 8.8
-

style

-

This attribute contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the {{ HTMLElement("style") }} element have mainly the purpose of allowing for quick styling, for example for testing purposes.

-
-

Usage note: This attribute must not be used to convey semantic information. Even if all styling is removed, a page should remain semantically correct. Typically it shouldn't be used to hide irrelevant information; this should be done using the hidden attribute.

-
- - - - - - - -
Normative documentHTML5, section 3.2.3.7({{ HTMLVersionInline(4) }}: HTML4.01, section 14.2.2)
-

tabindex

-

This integer attribute indicates if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position. It can takes several values:

- -

An element with a 0 value, an invalid value, or no tabindex value should be placed after elements with a positive tabindex in the sequential keyboard navigation order.

-

You can consult this article to see a comprehensive explanation of focus management.

- - - - - - - -
Normative documentHTML5, section 8.4.1({{ HTMLVersionInline(4) }}: HTML4.01, section 17.11.1)
-

title

-

This attribute contains a text representing advisory information related to the element it belongs too. Such information can typically, but not necessarily, be presented to the user as a tooltip. Here are some typical uses of this attribute:

- -

If this attribute is omitted, it means that the title of the nearest ancestor of this element is still relevant for it (and can legitimately be used as the tooltip for that element. If this attribute is set to the empty string, it explicitly means that its nearest ancestor's title is not relevant for this element (and shouldn't be used in the tooltip for that element).

-

Additional semantics are attached to the title attributes of the {{ HTMLElement("link") }}, {{ HTMLElement("abbr") }} and {{ HTMLElement("input") }}.

-
-

Usage note: The title attribute may contains several lines. Each U+000A LINE FEED (LF) inserted represents such a newline. Some caution must be taken though, as that means that:

-
<p>Newlines in title should be taken into account,like this <abbr title="This is a
-multiline title">example</abbr>.</p>
-
-

defines a two-line title.

-

Support for multi-line titles was added to Gecko in Gecko 12.0 {{ geckoRelease("12.0") }}.

-
- - - - - - - -
Normative documentHTML5, section 3.2.3.3 ({{ HTMLVersionInline(4) }}: HTML4.01, section 7.4.3
-

 

-- cgit v1.2.3-54-g00ecf