XHTMLを書くにはきれいなHTML文法が必要です。
--------------------------------------------------
Some More XHTML Syntax Rules:より多くのXHTML文法規則:Attribute names must be in lower case属性名は、小さく書いてください。attribute values mbe quot属性値はダブル引用符Attribute minimzation is forbidden属性を使って簡単に書いてはいけません。ementsXHTML DMD定義の強制要素
--------------------------------------------------
Attribute Names Must Be In Lower Case属性名は小文字This is wrongでなければなりません。これは間違いです。
<table WIDT=「100%」This corect:これは正しいです。
<table width=「100%」>
--------------------------------------------------
Attribute Values Must Be Quoted属性値はダブルクォーテーションThis is wrongを付けなければなりません。これは間違いです。
<table width=100%>This corect:これは正しいです。
<table width=「100%」>
--------------------------------------------------
Attribute Minimization Is Forbiddenは属性が簡単にThis is wrongを書くことを許さないです。これは間違いです。
<input checked><input readonly><input disabled><option selected><frame noresize>This corect:正しいのはこのようです。
<input checked=“checcked”<
Here is a list the minzeemzeizttttttttttttttttttttttttttttttttttttttttttttttttdではどのように書いているべきですか?このリストを書いているはずですか?: HTML XHTML compect compect=「comppact」 ジャッキー checked=「checked」 declare declare=「declare」 readonly readonly=「readonly」 disabled disabled=「disabled」 selected selected=「selected」 defer defer=「defer」 ismap ismap=「ismap」 nohref nohref=「nohref」 ノート nosharde=「nosharde」 nowrap nowrap=「nowrap」 multiple multiple=「multiple」 ノイゼ ノレスイゼ=「ノレスイゼ」 -------------------------------------------------- The id Attribute Replacces The name Attributed属性を置き換えるname属性HTML 4.01 defines a name atribute for the elements a,apple,frame,frame,In XHTML the name atribute is depreced,このように定義されていません。代わりにIDを使う。 This is wrong:これは間違いです。 <crc=「picture.gif」name=「picture 1」/>This is corect:これは正しいです。 Note:To interoperate with older browsers for a while,you shoud use both name and id,with identical atribute values,like this:バージョンが低いために、あなたのブラウザと同じ属性を使うべきです。 <crc=「picture.gif」id=「picture 1」name=「picture 1」/>IMPORTANT Comptibility Note:互換性注意点: To make your XHTML comptible with today''s browses,you shou shoud add an extra space before the'/"smbol.は現在のブラウザに対応しています。/マークの前にスペースを追加してください。 -------------------------------------------------- The Lang AttributeLang属性The lang atribute appleies to almost everry XHTML element.It specifies the langer of the content withinn element.lang属性はほぼすべてのXHTML要素に適用できます。要素の内容を指定する言語 If you use the lang atribute in an element、you must add the xml:lang atribute、like this:もしあなたが元素の中でlang属性を適用するなら、xml:lang属性を加えなければなりません。このように: <div lang=「no」xml:lang=「no」Heia Norge!div> -------------------------------------------------- Mandatory XHTML Elements強制XHTML要素All XHTML documents must have a DOCTYPE declaration.The)、head and body element must be present、and the title must be present inesent.the head element.すべてのHTMLドキュメントが必要です。html、headとbody元素は必ず現れて、しかもtitleはhead元素の中でなければなりません。 This is a minimum XHTML document template:これは極めて小さいXHTMLドキュメントテンプレートです。 <!DOCTYPE Docctype goes here<)xmlns="http://www.w3.org/1999/xhtml ""Title goes here Body texgoes here>>>Note:The DOCTYYPE declaration is is not parttytytytytytytytytytytytytytytytytytytytytytytytytype.com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com com dedededededededeXHTMLドキュメント自体の一部ではありません。XHTMLの要素でもありません。ラベルを閉じるべきではありません。 Note:The xmlns atribute inside the<>is required in XHTML.However,the validator on w 3.org does not complain when this atribute is missing in an XHTML document.This is because"xmlns=http://www.w3.org/1999/xhtml"is a fixed value and will be added to the"(even if you do not include it)注意:XHTMLドキュメントはxmlns属性を要求しています。しかし、w 3.orgの検証器はこの属性があなたのXHTMLドキュメントに現れていないためにエラーを報告しません。これは「xmlns=http://www.w3.org/1999/xhtml「固定値です。ドキュメントにそれが含まれていなくても自動的に加算されます。