【html】ガラケー用のHTMLテンプレート

ガラケーのHTMLを作ることがあるので、テンプレートをおいておきます。
これでHTMLを作って文字コードをShift_JISで作ればとりあえずの形はできます。

<?xml version="1.0" encoding="Shift_JIS"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/2.3) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=Shift_JIS" />
<meta name="description" content="ディスクリブション文章" />
<meta name="keywords" content="メタキーワード" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<title>サイトタイトル</title>
</head>
<body bgcolor="#FFFFFF" vlink="" link="" alink="" text="">
<font size="-2">

<marquee bgcolor="#666666">
<font size="-2" color="#FFFFFF">マーキー文章</font> 
</marquee>

<div align="center">
<img src="./img/logo.gif" /><!-- ロゴ画像 -->
</div>

<table width="100%">
  <tr>
    <td bgcolor="#666666" align="center"><font color="#ffffff" size="-2">インフォメーション</font></td>
  </tr>
</table>
サイトの概要文章<br />
サイトの概要文章<br />
サイトの概要文章

<table width="100%">
  <tr>
    <td bgcolor="#666666" align="center"><font color="#ffffff" size="-2">メイン</font></td>
  </tr>
</table>

サイトのメイン文章<br />
サイトのメイン文章<br />
サイトのメイン文章

<hr />

<table width="100%">
  <tr>
    <td bgcolor="#CCCCCC" align="center"><a href="http://" accesskey="0"><!-- トップページURL -->
      <font size="-2">(c)2010 - サイトタイトル</font></a>
    </td>
  </tr>
</table>

</font>
</body>
</html>

参考サイト:手っ取り早く携帯サイトを作成する時のhtmlテンプレート

関連記事

TOP