diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/htmlelement/title/index.html | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/ja/web/api/htmlelement/title/index.html')
-rw-r--r-- | files/ja/web/api/htmlelement/title/index.html | 69 |
1 files changed, 69 insertions, 0 deletions
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 +--- +<div>{{ APIRef("HTML DOM") }}</div> + +<p><span class="seoSummary"><strong><code>HTMLElement.title</code></strong> プロパティは、要素のタイトルを表します。 通常、テキストは、マウスがノード上にあるときに「ツールチップ」ポップアップに表示されます。</span></p> + +<h2 id="Syntax" name="Syntax">構文</h2> + +<pre class="syntaxbox">var <em>str</em> = <em>element</em>.title; +<em>element</em>.title = <em>str</em>; +</pre> + +<h2 id="Example" name="Example">例</h2> + +<pre class="brush: js">const link = document.createElement('a'); +link.innerText = 'ブドウ'; +link.href = 'https://ja.wikipedia.org/wiki/ブドウ'; +link.title = 'ブドウに関するウィキペディアのページ'; +</pre> + +<h2 id="Specifications" name="Specifications">仕様</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">仕様</th> + <th scope="col">状態</th> + <th scope="col">コメント</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('HTML WHATWG', '#dom-title', 'title')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td>{{SpecName('DOM2 HTML')}} からの変更なし。</td> + </tr> + <tr> + <td>{{SpecName('DOM2 HTML', 'html.html#ID-78276800', 'title')}}</td> + <td>{{Spec2('DOM2 HTML')}}</td> + <td>{{SpecName('DOM1')}} からの変更なし。</td> + </tr> + <tr> + <td>{{SpecName('DOM1', 'level-one-html.html#ID-78276800', 'title')}}</td> + <td>{{Spec2('DOM1')}}</td> + <td>初期定義</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> + + + +<p>{{Compat("api.HTMLElement.title")}}</p> + +<h2 id="See_also" name="See_also">関連情報</h2> + +<ul> + <li>HTML の <code><a href="/ja/docs/Web/HTML/Global_attributes/title"><strong>title</strong></a></code> グローバル属性</li> +</ul> |