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/web/html/element/dir/index.html | 55 ++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 files/ja/web/html/element/dir/index.html (limited to 'files/ja/web/html/element/dir') diff --git a/files/ja/web/html/element/dir/index.html b/files/ja/web/html/element/dir/index.html new file mode 100644 index 0000000000..ca682f43b7 --- /dev/null +++ b/files/ja/web/html/element/dir/index.html @@ -0,0 +1,55 @@ +--- +title: ': ディレクトリ要素 (廃止)' +slug: Web/HTML/Element/dir +tags: + - Directory + - Element + - HTML + - HTML Lists + - Obsolete + - Reference + - Web + - dir + - lists +translation_of: Web/HTML/Element/dir +--- +
{{HTMLRef}}{{Obsolete_header()}}
+ +

廃止された HTML のディレクトリ要素 (<dir>) は、 {{Glossary("user agent","ユーザーエージェント")}}が適用するスタイルやアイコンを用いて表示する、ファイルやフォルダーのディレクトリのコンテナとして使われます。この要素は廃止されたので使わないで下さい。代わりに、ファイル一覧を含め、一覧には {{HTMLElement("ul")}} 要素を使用してください。

+ +
使用上の注意: この要素は使用しないでください。この要素は HTML の初期の仕様で定義されていましたが、 HTML 4 で非推奨要素に指定され、完全に廃止されました。この要素に対応している主要なブラウザーはありません。
+ +

DOM インターフェイス

+ +

この要素は {{domxref("HTMLDirectoryElement")}} インターフェイスを実装しています。

+ +

属性

+ +

他のすべての HTML 要素と同様、この要素はグローバル属性に対応しています。

+ +
+
{{htmlattrdef("compact")}}
+
この真偽値の属性はコンパクトなスタイルでディレクトリ一覧をレンダリングするようブラウザーにヒントを与えるものです。この属性の解釈はユーザーエージェントに委ねられ、また全てのブラウザーで動作するものでもありません。 +
使用上の注意: この属性は既に廃止されている為、使用しないで下さい。 {{HTMLElement("dir")}} 要素の整形には CSS を用いましょう。 compact 属性を指定した場合と同様の視覚効果は、 CSS の {{cssxref("line-height")}} プロパティに 80% を指定することで得ることができます。
+
+
+ +

ブラウザーの互換性

+ + + +

{{Compat("html.elements.dir")}}

+ +

関連情報

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