Html-what-is-new-in-html4
HTML 4の新機能
link:/html/html_deprecated_tags [previous] link:/html/html_ascii_codes [next] [[1]] php [AddThis Social Bookmark Button]
HTMLバージョン3.2から4.0で行われた大きな変更があります
HTML 4.0の新しい要素:
| Tag | Description |
|---|---|
| <abbr> | Specifies an abbreviation |
| <acronym> | Specifies an acronym |
| <bdo> | Specifies the direction of text display |
| <button> | Specifies a push button |
| <col> | Specifies attributes for table columns |
| <colgroup> | Specifies groups of table columns |
| <del> | Specifies deleted text |
| <fieldset> | Specifies a fieldset |
| <frame> | Specifies a sub window (a frame) |
| <frameset> | Specifies a set of frames |
| <ins> | Specifies inserted text |
| <label> | Specifies a label for a form control |
| <legend> | Specifies a title in a fieldset |
| <noframes> | Specifies a noframe section |
| <noscript> | Specifies a noscript section |
| <object> | Specifies an embedded object |
| <optgroup> | Specifies an option group |
| <q> | Specifies a short quotation |
| <s> | Deprecated. Specifies strikethrough text |
| <span> | Specifies a section in a document |
| <tbody> | Specifies a table body |
| <tfoot> | Specifies a table footer |
| <thead> | Specifies a table header |
国際化:
世界の言語の表現を可能にするために、HTML 4は文字セットとしてユニバーサル文字セットを採用しています。 HTMLの以前のバージョンは、一部の西ヨーロッパ言語のみを処理する文字セットであるISO-8859-1に制限されていました。
ユニバーサル文字セットは、ユニコードに相当する文字ごとの文字であり、世界のほとんどすべての言語の文字が含まれています。
_lang_および_dir_属性はHTML 4.0で新しく追加され、ほとんどすべての要素に適用されます。 これらの属性により、作成者はテキストの言語と方向性を指定できます。
BDO要素を使用すると、ヘブライ語などの右から左へのテキストが表示されるときに使用される双方向アルゴリズムを作成者がオーバーライドできます。
スタイルシート:
新しい_id 、 class_、および_style_属性により、スタイル情報を特定の要素に添付できます。 _link_および_style_要素には、スタイルシート言語とターゲットメディアをそれぞれ指定するための新しい_type_および_media_属性があります。
クライアント側のスクリプト:
HTML 4.0で追加された_noscript_要素は、クライアント側のスクリプトが無効またはサポートされていないブラウザの代替コンテンツを提供します。
_script_要素には、スクリプト言語の指定、外部スクリプトの埋め込み、およびスクリプトの実行の遅延のための属性が含まれるようになりました。
ユーザーが要素をクリックする、キーを押す、要素の上にマウスを移動する、フォームコントロールの値を変更するなどのイベントでスクリプトを実行できるように、多くの新しいイベント属性が追加されました。
フレーム:
ウィンドウを複数のフレームに分割し、各フレームに異なるドキュメントを使用する機能は、HTML 4.0の非常に重要な機能です。
<noframe>要素を導入することにより、古いブラウザーを処理する機能も追加されました。
高度なテーブル:
HTML 3.2の単純なテーブルモデルはHTML 4で拡張され、行および列グループが含まれます。
行グループ(thead、tfoot、tbody)を使用すると、視覚的なブラウザーで静的なヘッダー行とフッター行をスクロール可能な本体行でレンダリングできるため、大きなテーブルの読みやすさが向上します。
link:/html/html_deprecated_tags [previous] link:/html/html_ascii_codes [next] link:/cgi-bin/printversion.cgi?tutorial = html&file = what_is_new_in_html4 [Printer Friendly]
| Advertisements |