aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/element/getattribute
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:01:54 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:02:45 +0800
commitc46e9da7f68bd682fc9ff1452b7fe63df1227151 (patch)
treefe6c6e20521b16a22ec64755b88a39effd81a4d7 /files/zh-tw/web/api/element/getattribute
parente671353fc364cef89441d031e0e8b9300b67951b (diff)
downloadtranslated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.gz
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.bz2
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.zip
Migrate to Compat macro (zh-tw)
Diffstat (limited to 'files/zh-tw/web/api/element/getattribute')
-rw-r--r--files/zh-tw/web/api/element/getattribute/index.html27
1 files changed, 1 insertions, 26 deletions
diff --git a/files/zh-tw/web/api/element/getattribute/index.html b/files/zh-tw/web/api/element/getattribute/index.html
index e5b7a1c27e..15235c37bf 100644
--- a/files/zh-tw/web/api/element/getattribute/index.html
+++ b/files/zh-tw/web/api/element/getattribute/index.html
@@ -36,32 +36,7 @@ alert(align); // shows the value of align for the element with id="div1"</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>29</td>
- <td>23</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div>{{DOMAttributeMethods}}</div>
+{{Compat("api.Element.getAttribute")}}
<h2 id="Specification" name="Specification">Specification</h2>