外部CSSやfavicon.ico、RSS、RORのファイルの記述です。

特にリンクファイルも無く、スタイルシートをページ内に記述するという事であれば、まったく不要な記述となります。

私の場合はSEOの事もありますし、rssなども利用しているのでリンクファイルもある程度記述しています。

実際のソースの書き方



<link rel="shortcut icon" href="./favicon.ico" />
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
<link href="./c/ipodtouch.css" rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" />
<link href="./c/base.css" rel="stylesheet" type="text/css" media="screen and (min-device-width: 481px)" />
<link href="./c/base.css" rel="stylesheet" type="text/css" media="print" />
<!--[if IE]>
<link href="./c/base.css" rel="stylesheet" type="text/css" />
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.hirx.net/r/index.rss" />
<link rel="alternate" type="application/rss+xml" title="ROR" href="http://www.hirx.net/ror.xml" />



私の場合はiPod touch,iPhone対応のサイトにしているので、CSSのリンクファイルの書き方が普通とは異なります。

iPod touch,iPhone対応サイトについてはこちらのページを参考にしてください。

2009-06-27

当サイトの更新情報はRSSで配信してます。feed RSSはこちら>>
よろしければご使用のRSSリーダーにご登録ください。
My Yahoo!に追加 Add to Google Subscribe with livedoor Reader はてなRSSに追加