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/api/htmlelement/title/index.html | 69 +++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 files/ja/web/api/htmlelement/title/index.html (limited to 'files/ja/web/api/htmlelement/title/index.html') diff --git a/files/ja/web/api/htmlelement/title/index.html b/files/ja/web/api/htmlelement/title/index.html new file mode 100644 index 0000000000..6f90c74316 --- /dev/null +++ b/files/ja/web/api/htmlelement/title/index.html @@ -0,0 +1,69 @@ +--- +title: HTMLElement.title +slug: Web/API/HTMLElement/title +tags: + - API + - HTML DOM + - HTMLElement + - Property + - Reference +translation_of: Web/API/HTMLElement/title +--- +
{{ APIRef("HTML DOM") }}
+ +

HTMLElement.title プロパティは、要素のタイトルを表します。 通常、テキストは、マウスがノード上にあるときに「ツールチップ」ポップアップに表示されます。

+ +

構文

+ +
var str = element.title;
+element.title = str;
+
+ +

+ +
const link = document.createElement('a');
+link.innerText = 'ブドウ';
+link.href = 'https://ja.wikipedia.org/wiki/ブドウ';
+link.title = 'ブドウに関するウィキペディアのページ';
+
+ +

仕様

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('HTML WHATWG', '#dom-title', 'title')}}{{Spec2('HTML WHATWG')}}{{SpecName('DOM2 HTML')}} からの変更なし。
{{SpecName('DOM2 HTML', 'html.html#ID-78276800', 'title')}}{{Spec2('DOM2 HTML')}}{{SpecName('DOM1')}} からの変更なし。
{{SpecName('DOM1', 'level-one-html.html#ID-78276800', 'title')}}{{Spec2('DOM1')}}初期定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.HTMLElement.title")}}

+ +

関連情報

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