SEO/ガラケー
提供: 初心者エンジニアの簡易メモ
モバイル共通 xhtml
<?xml version='1.0' encoding='Shift_JIS'?> <!DOCTYPE html PUBLIC '-//WAPFORUM//DTD XHTML Mobile 1.0//EN' 'http://www.wapforum.org/DTD/xhtml-mobile10.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv='Content-Type' content='text/html; charset=Shift_JIS' />
docomo XHTML
<?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' />
au xhtml
<?xml version='1.0' encoding='Shift_JIS'?> <!DOCTYPE html PUBLIC '-//OPENWAVE//DTD XHTML 1.0//EN' 'http://www.openwave.com/DTD/xhtml-basic.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' />
softbank xhtml
<?xml version='1.0' encoding='Shift_JIS'?> <!DOCTYPE html PUBLIC '-//J-PHONE//DTD XHTML Basic 1.0 Plus//EN' 'xhtml-basic10-plus.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' />
最新
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' 'http://www.w3.org/TR/html4/strict.dtd'>
ブラウザ互換性あり
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
frame
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Frameset//EN' 'http://www.w3.org/TR/html4/frameset.dtd'>