diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
commit | 97065b2e68dd8768dc1ea092c893c57ebe205026 (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/it/web/html | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
download | translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2 translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip |
use class="hidden" not style="display:none"
Diffstat (limited to 'files/it/web/html')
-rw-r--r-- | files/it/web/html/global_attributes/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/it/web/html/global_attributes/index.html b/files/it/web/html/global_attributes/index.html index 84a66619b7..a8424e5827 100644 --- a/files/it/web/html/global_attributes/index.html +++ b/files/it/web/html/global_attributes/index.html @@ -122,7 +122,7 @@ translation_of: Web/HTML/Global_attributes </ol> </body> </pre> - <div style="display: none;"> + <div class="hidden"> <pre class="brush:css"> ol { list-style-type:decimal; } @@ -151,7 +151,7 @@ function changeImage(){ <li>the name must not contain any semicolon (<code>U+003A</code>);</li> <li>the name must not contain capital <code>A</code> to <code>Z</code> letters.</li> </ul> -<p>Note that the <code>HTMLElement.dataset</code> attribute is a <code>StringMap</code> and the name of the custom data attribute <em> data-test-value<span id="1305983291817E" style="display: none;"> </span></em> will be accessible via <code>HTMLElement.dataset.</code><em><code>testValue</code></em> as any dash (<code>U+002D</code>) is replaced by the capitalization of the next letter (camelcase).</p> +<p>Note that the <code>HTMLElement.dataset</code> attribute is a <code>StringMap</code> and the name of the custom data attribute <em> data-test-value<span id="1305983291817E" class="hidden"> </span></em> will be accessible via <code>HTMLElement.dataset.</code><em><code>testValue</code></em> as any dash (<code>U+002D</code>) is replaced by the capitalization of the next letter (camelcase).</p> <table class="fullwidth-table"> <tbody> <tr> |