From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/glossary/attribute/index.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 files/ja/glossary/attribute/index.html (limited to 'files/ja/glossary/attribute') diff --git a/files/ja/glossary/attribute/index.html b/files/ja/glossary/attribute/index.html new file mode 100644 index 0000000000..5cb5ea2a33 --- /dev/null +++ b/files/ja/glossary/attribute/index.html @@ -0,0 +1,30 @@ +--- +title: Attribute (属性) +slug: Glossary/Attribute +tags: + - CodingScripting + - Glossary + - HTML +translation_of: Glossary/Attribute +--- +

属性 (attribute) 属性は{{Glossary("element", "要素")}}を拡張し、動作を変更したりメタデータを提供したりします。

+ +

属性は常に name="value" の形式を取ります (属性の識別子に関連付けられた値が続きます)。

+ +

等号や値のない属性を見かけることもあります。これは HTML では空文字列を、 XML では属性名を提供する略記法です。

+ +
<input required>
+<!-- is the same as… -->
+<input required="">
+<!-- or -->
+<input required="required">
+
+ +

詳細情報

+ +

技術リファレンス

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