よく XHTML 1.1 ではフレームを使えないと思っている人が多いようですが、実際使えません。定められた DTD (文書型定義) を無視してブラウザで無理やり表示させることはできるのですが、MIME タイプが text/html であるファイルは正確な XHTML 1.1 ではないのです。少なくとも XHTML 1.1 以上であるには application/xml など、application として認識させる必要があるのです。できることならば application/xhtml+xml という HTTP ヘッダがついていれば言うことなしです。

冒頭から読む人を選ぶようなことを書いて、申し訳ありません。今回は XHTML 1.1 でフレームを使う方法をメモ代わりに書いておきます。

正直に言うと XHTML 1.1 としてフレームを使うことはできません。しかし XHTML 1.1 の DTD を自分で拡張して、フレーム対応の規格として使うことはできます。

もともと XHTML 1.1 にはモジュール化されているという特徴があります。XHTML 1.0 で使われていた要素を細かく分け、必要なものを組み合わせ、それに ruby 要素が追加されたものが XHTML 1.1 のセットなのです。XHTML 1.1 に最初から入っていない font や center などの古い要素も、一応部品として定義されていたりします。完全に排除されたわけじゃないんですね。

モジュール化された XHTML というのは、例えるならば、好きなものをトッピングできるうどん屋さんなのです。だから、フレームを使いたければ、フレームのモジュールを DTD に自分で書き加えてやればいいのです。XHTML の元来の意味が拡張できるハイパーテキストマークづけ言語なので、むしろ拡張しまくっちゃっていいのです。

そんなわけで、XHTML 1.1 に準拠しつつフレームを使ったサイトがあってもいいのです。

2007年03月05日 月曜日 21時18分

コメント

air jordan shoes

Thanks a lot for providing individuals with an extraordinarily pleasant opportunity to read articles and blog posts from this site. It's usually so great and also packed with a good time for me personally and my office friends to visit your blog minimum thrice in a week to read the new issues you have got. And definitely, we are at all times pleased with your astonishing knowledge served by you. Selected 4 tips in this post are completely the finest I've had.[url=http://www.jordanshoes.com.co]air jordan shoes[/url]

2017年07月08日 土曜日 13時32分

adidas yeezy

My husband and i ended up being so fortunate Ervin managed to finish up his investigations from the ideas he obtained out of the web page. It's not at all simplistic to just continually be offering secrets which men and women may have been selling. And now we fully understand we need you to be grateful to because of that. The type of explanations you've made, the easy website menu, the relationships you can make it easier to promote - it's got most impressive, and it is letting our son in addition to our family believe that this situation is thrilling, which is certainly quite serious. Thank you for all! adidas yeezy

2017年07月12日 水曜日 01時42分

adidas nmd

I must show my appreciation to this writer for rescuing me from this type of matter. As a result of exploring throughout the search engines and finding thoughts that were not productive, I believed my entire life was well over. Living minus the approaches to the difficulties you have fixed by way of your good short post is a critical case, as well as the ones which may have negatively affected my entire career if I had not come across your web site. The know-how and kindness in maneuvering every item was invaluable. I am not sure what I would've done if I had not come upon such a thing like this. I am able to at this time look ahead to my future. Thank you very much for the impressive and results-oriented help. I will not think twice to refer your web blog to any person who will need direction about this issue. adidas nmd

2017年07月16日 日曜日 23時54分

ferragamo belt

I want to express my thanks to you for bailing me out of this type of incident. Right after checking through the online world and finding thoughts that were not powerful, I thought my life was well over. Existing minus the approaches to the issues you've resolved by means of this website is a critical case, and the kind that might have adversely affected my career if I had not discovered your website. Your main capability and kindness in maneuvering every part was helpful. I don't know what I would've done if I had not encountered such a point like this. I can also at this moment look forward to my future. Thanks so much for this skilled and effective guide. I will not hesitate to suggest your web page to anybody who wants and needs recommendations on this subject. ferragamo belt

2017年07月23日 日曜日 06時12分

cheap jordans

I precisely desired to thank you so much yet again. I do not know what I would've implemented in the absence of the entire ideas documented by you on my field. It was actually a traumatic crisis for me personally, however , looking at your specialized fashion you solved the issue made me to cry with fulfillment. I'm happier for this assistance and as well , hope you know what an amazing job you're getting into training the rest with the aid of your web page. Most probably you've never encountered any of us. cheap jordans

2017年07月26日 水曜日 05時13分

adidas nmd

I'm typically to blogging and i really recognize your content. The article has really peaks my interest. I'm going to bookmark your web site and hold checking for new information. adidas nmd

2017年07月28日 金曜日 19時35分

Adidas NMD Runner Blue Green White

I and also my guys were studying the nice strategies from the website and the sudden developed an awful suspicion I never thanked the blog owner for those secrets. Those young boys came for that reason excited to see all of them and already have without a doubt been tapping into those things. I appreciate you for being well thoughtful as well as for going for this form of perfect issues millions of individuals are really desirous to be informed on. Our honest regret for not saying thanks to earlier. Adidas NMD Runner Blue Green White

2017年07月29日 土曜日 17時11分

cheap basketball shoesbasketball shoes

I simply wanted to thank you so much once again. I am not sure the things that I would've used without those suggestions shared by you regarding such subject. It absolutely was a very fearsome difficulty in my opinion, but being able to see a new skilled fashion you resolved the issue forced me to leap with happiness. I am happy for the advice and wish you know what a powerful job that you are putting in teaching the rest all through your web blog. More than likely you have never encountered any of us. cheap basketball shoesbasketball shoes

2017年07月30日 日曜日 04時16分

yeezy

I抎 need to examine with you here. Which isn't something I often do! I enjoy studying a post that will make people think. Additionally, thanks for permitting me to remark!

2017年08月10日 木曜日 05時02分

jordan shoes

There is noticeably a bundle to learn about this. I assume you made sure good points in options also.

2017年08月18日 金曜日 11時37分

curry 4

you've an excellent blog right here! would you wish to make some invite posts on my weblog? curry 4

2017年08月20日 日曜日 01時51分

adidas tubular uk

After study a couple of of the blog posts on your web site now, and I truly like your method of blogging. I bookmarked it to my bookmark web site listing and might be checking back soon. Pls take a look at my site as nicely and let me know what you think. adidas tubular uk

2017年08月21日 月曜日 21時54分

adidas nmd

Thanks a lot for giving everyone such a remarkable opportunity to read in detail from this website. It is usually very pleasant and stuffed with a great time for me personally and my office peers to search your site at least thrice every week to find out the newest items you have got. Of course, we are certainly satisfied with your unique tricks you serve. Some 3 tips in this article are in truth the most beneficial I have had. adidas nmd

2017年08月22日 火曜日 09時06分

Adidas Originals NMD Runner Primeknit Sneakers Grey

Thank you for your entire effort on this blog. Kim loves doing internet research and it is easy to see why. All of us learn all of the lively ways you create invaluable guidance via this blog and as well as strongly encourage response from some other people on this theme plus our own child is now discovering a whole lot. Have fun with the rest of the new year. You're the one performing a fabulous job. Adidas Originals NMD Runner Primeknit Sneakers Grey

2017年08月23日 水曜日 02時28分

michael kors outlet store

That is the suitable weblog for anybody who desires to search out out about this topic. You understand a lot its almost exhausting to argue with you (not that I actually would want匟aHa) . You undoubtedly put a brand new spin on a topic thats been written about for years. Great stuff, just nice! michael kors outlet store

2017年08月23日 水曜日 19時14分

© 2006-2017 小野塚裕也
トップ ページ