| location プロパティ | |||
| hash IE3.02 NS2.0 | ドキュメント中のブックマークに移動するハッシュ(#)以降の部分 型:文字列 ハッシュが見当たらない場合はnullを返す。 | [Read/Wite] W3C | |
| host IE3.02 NS2.0 | ホスト名:ポート番号 hostnameプロパティとportプロパティをコロンで連結した文字列 型:文字列 portプロパティがnullの場合はhostプロパティはhostnameプロパティと同じになる。port、hostプロパティが両方nullの場合はnullが返る。 ※変更は一般はhrefプロパティを変更させる。 | [Read/Wite] W3C | |
| hostname IE3.02 NS2.0 | ホスト名 型:文字列 ホスト名が無い場合はnullを返す。 | [Read/Wite] W3C | |
| href IE3.02 NS2.0 | URL全体 型:文字列 location.href は locationオブジェクトのデフォルトプロパティなので、location=URL と location.href=URL は同じことになる。 | [Read/Wite] W3C(DOM1) Step.7 | |
| pathname IE3.02 NS2.0 | ファイルパス 型:文字列 | [Read/Wite] W3C | |
| port IE3.02 NS2.0 | ポート番号 型:文字列 ポートが指定されなかった場合はnullを返す。 | [Read/Wite] W3C | |
| protocol IE3.02 NS2.0 | URLから最初のコロンまでのプロトコル名 型:文字列 
 | [Read/Wite] W3C | |
| search IE3.02 NS2.0 | ?記号に続く問い合わせ文字列 型:文字列 ?記号がなければnullを返す。 | [Read/Wite] W3C Step.63 | |
| location メソッド | |||||||
| assign IE4.0 NS | 現在のlocationを変更する location.assign(url) 
 戻り値:なし | W3C | |||||
| reload IE4.0 NS3.0 | 現在のページをリロードする location.reload(reload) 
 戻り値:なし | W3C | |||||
| replace IE4.0 NS3.0 | 指定したURLをロードする location.replace(url) 
 戻り値:なし ※履歴リストのエントリからドキュメントを消去するためURLをロードすれば戻ることはできない。 | W3C | |||||
| interface HTMLLinkElement : HTMLElement {
           attribute boolean          disabled;
           attribute DOMString        charset;
           attribute DOMString        href;
           attribute DOMString        hreflang;
           attribute DOMString        media;
           attribute DOMString        rel;
           attribute DOMString        rev;
           attribute DOMString        target;
           attribute DOMString        type;
}; | 
|  |