-
Notifications
You must be signed in to change notification settings - Fork 0
/
patterns_html.html
259 lines (223 loc) · 8.88 KB
/
patterns_html.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="ja" />
<title>HTML TEMPLATE MODULES</title>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<style type="text/css">
* {
margin:0;
padding:0;
font-size:100%;
border:0px;
}
body{
font-size:12px;
line-height:1.6;
}
#container {
width:960px;
margin:20px auto;
}
h1 {
font-size:2em;
margin:0.5em 0;
border-bottom:2px solid #CCC;
}
h2 {
font-size:1.35em;
margin:1em 0;
padding:0.2em 0.5em;
font-weight:bold;
color:#336;
background:#f0f0f3;
}
pre {
display:block;
color:#396;
}
pre:before {
content:"/*";
display:block;
}
pre:after {
content:"*/";
display:block;
}
textarea.example {
display:block;
width:920px;
min-height:200px;
padding:15px;
border:5px solid #CCC;
}
hr{
margin:100px 0;
}
.pending {
background:#F00;
color:#FFF;
}
.pending:before {
content:"[要確認]";
}
</style>
</head>
<body>
<div id="container">
<h1>HTML TEMPLATE MODULES</h1>
<!--
<h2>Module_Name</h2>
<pre>
</pre>
<textarea class="example">
</textarea>
-->
<div id="sub">
<ul>
<li><a href="#comment">Comment</a></li>
<li><a href="#xml">XML宣言</a></li>
<li><a href="#documentType">Document type</a></li>
<li><a href="#headElements">Head内要素</a></li>
<li><a href="#socialElements">Social Elements</a></li>
<li><a href="#mediaQuery">Media Query</a></li>
<li><a href="#webFont">Web Font</a></li>
<li><a href="#ie6Alert">IE6 Alert</a></li>
<li><a href="#socialFunctions">Social Functions</a></li>
<li><a href="#smartphoneSettings">Smart phone Settings</a></li>
</ul>
</div>
<div id="main">
<h2 id="comment">Comment</h2>
<pre>
・通常のコメント
・エリア分けのコメント
・閉じタグのコメント
</pre>
<textarea class="example"><!-- -->
<!-- [[[ GlOBAL NAV -AREA ]]] -->
<!-- / [[[ GlOBAL NAV -AREA ]]] -->
<div id="hoge">
<!-- /#hoge --></div>
<div class="foo">
<!-- /.foo --></div></textarea>
<h2 id="xml">XML宣言</h2>
<pre>
<span class="pending">つけるときつけないときの解説プリーズ。</span>
</pre>
<textarea class="example"><?xml version="1.0" encoding="utf-8"?></textarea>
<h2 id="documentType">Document type</h2>
<pre>
・HTML 4.0.1 Transitional
・HTML 4.0.1 Strict
・XHTML 1.0 Transitional
・XHTML 1.0 Strict
・HTML5
</pre>
<textarea class="example"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html></textarea>
<h2 id="headElements">Head内要素</h2>
<pre>
</pre>
<textarea class="example">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="apple-touch-icon-precomposed" href="/img/appleTouchIcon.png" />
<link rel="mixi-check-image" href="http://www.example.com/img/social.png" />
<link rel="index" href="/" title="トップページ" />
<link rel="start" href="/" title="Home" />
<!-- this == IE -->
<!--[if IE]><link rel="stylesheet" href="/css/common/ie.css" type="text/css" media="screen, print "/><![endif]-->
<!-- this == IE6 -->
<!--[if IE6]><link rel="stylesheet" href="/css/common/ie.css" type="text/css" media="screen, print "/><![endif]-->
<!-- this <= IE8 -->
<!--[if lte IE 8]><link rel="stylesheet" href="/css/common/lteie8.css" type="text/css" media="screen, print" /><![endif]-->
<!-- this <= IE7 -->
<!--[if lte IE 7]><link rel="stylesheet" href="/css/common/lteie7.css" type="text/css" media="screen, print" /><![endif]-->
<!-- this <= IE6 -->
<!--[if lte IE 6]><link rel="stylesheet" href="/css/common/ie6.css" type="text/css" media="screen, print" /><![endif]-->
</textarea>
<h2 id="socialElements">Social Elements</h2>
<pre>mixiとかFacebook用の記述のサンプル
</pre>
<textarea class="example">
<meta property="og:title" content="*** Title ***" />
<meta property="og:description" content="*** Description ***" />
<meta property="og:url" content="http://www.example.com/" />
<meta property="og:image" content="http://www.example.com/img/social.png" />
<meta property="og:site_name" content="*** Site name ***" />
<meta property="fb:page_id" content="*** 0000000 ***" />
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
</textarea>
<h2 id="mediaQuery">Media Query</h2>
<pre>
</pre>
<textarea class="example">
<link rel="stylesheet" href="/css/common/iPad.css" type="text/css" media="only screen and (min-device-width : 768px) and (max-device-width : 1024px)" />
<link rel="stylesheet" href="/css/common/smartPhone.css" type="text/css" media="only screen and (max-device-width:480px)" />
</textarea>
<h2 id="webFont">Web Font</h2>
<pre>
</pre>
<textarea class="example">
<link href="http://fonts.googleapis.com/css?family=Molengo&text=VISONCMPANYSERELTWORKMU" rel="stylesheet" type="text/css" />
</textarea>
<h2 id="ie6Alert">IE6 Alert</h2>
<pre>
</pre>
<textarea class="example">
<!--[if lte IE 6]>
<div id="forOldBrowser" class="group">
<h2>Oh no!</h2>
<p class="outline">お使いのブラウザは現在サポートされていません。<br />
最新のブラウザにアップグレードしてください。</p>
<ul class="browserList group">
<li><a href="http://windows.microsoft.com/ja-JP/internet-explorer/downloads/ie" title="IE最新版のダウンロードページ" class="external"><img src="/img/common/pic/ieIcon.png" alt="IE9のアイコン" width="61" height="61" /></a></li>
<li><a href="http://www.apple.com/jp/safari/" title="Safari最新版のダウンロードページ" class="external"><img src="/img/common/pic/safariIcon.png" alt="Safariのアイコン" width="61" height="61" /></a></li>
<li><a href="http://www.google.co.jp/chrome/intl/ja/landing_ch.html" title="Google Chrome 最新版のダウンロードページ" class="external"><img src="/img/common/pic/chromeIcon.png" alt="Google Chrome のアイコン" width="61" height="61" /></a></li>
<li><a href="http://mozilla.jp/firefox/" title="Firefoxのダウンロードページ" class="external"><img src="/img/common/pic/firefoxIcon.png" alt="Firefoxのアイコン" width="61" height="61" /></a></li>
</ul>
<p class="attention">もしくは<br />
<em>スマートフォン(iPhone,Android)</em>でご覧ください!</p>
<p class="closeBtn">close</p>
</div>
<![endif]-->
</textarea>
<h2 id="socialFunctions">Social Functions</h2>
<pre>
</pre>
<textarea class="example">
<!-- [[[ SOCIAL LINK -AREA ]]] -->
<ul>
<li class="facebook"><fb:like href="http://www.example.com/" layout="button_count" show_faces="false" width="110"></fb:like></li>
<li class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-lang="ja">Tweet</a></li>
<li class="mixi" data-service_key="471bafafe405a629202f3d71a5b72d7cf67a60ef"></li>
<li class="hatebu"><a href="http://b.hatena.ne.jp/entry/http://www.example.com/" class="hatena-bookmark-button" data-hatena-bookmark-title="" data-hatena-bookmark-layout="standard" title="このページをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このページをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a></li>
<li class="plusone"><g:plusone size="medium"></g:plusone></li>
</ul>
<!-- / [[[ SOCIAL LINK -AREA ]]] -->
</textarea>
<h2 id="smartphoneSettings">Smart phone Settings</h2>
<pre>
</pre>
<textarea class="example"><meta name="viewport" content="320px, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default"></textarea>
<!-- /#main --></div>
<!-- /#container --></div>
<!-- [ SCRIPTS ] -->
<script src="./js/lib/LAB.min.js" type="text/javascript"></script>
<script type="text/javascipt" language="javascript">
$LAB.script('/js/lib/jquery.1.6.1.js').wait()
.script('/js/lib/meca.js').wait()
.script('/js//common.js');
</script>
<noscript><p id="msgNoscript">当サイトは、ブラウザのJavaScript設定を有効にしてご覧ください。</p></noscript>
<!-- / [ SCRIPTS ] -->
</body>
</html>