A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/ja/docs/Web/API/HTMLAreaElement/pathname below:

HTMLAreaElement: pathname プãƒãƒ‘ティ - Web API

HTMLAreaElement: pathname プロパティ

Baseline Widely available

HTMLAreaElement.pathname プロパティは、最初の '/' とその後に続く URL のパスから、クエリー文字列またはフラグメントを除外したもの入った文字列(または、パスがない場合は空文字列)です。

パス名は設定時にパーセントエンコードされますが、読み取り時にはパーセントデコードされません。

値

文字列です。

例
// <area id="myArea" href="/ja/docs/HTMLAreaElement"> 要素が文書にあったとします
const area = document.getElementById("myArea");
area.pathname; // '/ja/docs/HTMLAreaElement' を返す
仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4