基础应用
在Html中, 可以使用 <h1>
到 <h6>
作为标题。使用顺序一定是按照数字的顺序依次向下,并且不能跳跃使用。
example
<h1>
heding 1</h1>
使用 <class>
“类”来定义标题的样式。h1和h2的样式固定为灰色。
example
<h3 class="blue">
heding 1</h3>
在标题添加颜色背景样式
example
<h2 class="bg-red">
heding 2</h2>
<h3 class="bg-red">
heding 3</h3>
<h4 class="bg-red">
heding 4</h4>
背景为灰色
example
<h2 class="bg-gray">
heding 2</h2>
<h3 class="bg-gray">
heding 3</h3>
<h4 class="bg-gray">
heding 4</h4>
页面信息内容默文本认字体号数 <Font-size>
为 13px, 行高 <line-height>
是 20px. 这是应用到 <content-info>
的. 此外, <p>
默认为每一段都与下一段有10px的距离。
example
Forêt de Pierre, Parc du Lac vert, Village de pierre de Xizhou, Ancienne ville de Dali, Trois Pagodes, Marché de Shaping, Ancienne ville de Lijiang, Etang profond de Dragon Noir, Fresque du Village de Baisha, Ancienne résidence de Rock dans le Village de Yuhu, Gorges du Saut du tigre, Village Shigu, Visite à une famille tibétaine, Experience Shangri-La, Lac de Bita et Lac de Shudu
Parc de Manting, Vallée des Elephants sauvages, Jardin botanique tropical à Menglun, Village Jinuo, La plaine d'olive, Festival d’aspersion, Pavillons octogonaux de Jung Zhen, Marché livre
Ancienne ville de Lijiang, Etang profond de Dragon Noir, Colline de lion, Fresque du Village de Baisha, Mont enneigé de Jade Dragon ( de Ganhaizi), Gorge du saut du Tigre, Village Shigu
<p>
sumary </p>
文字连接:<a href=“/”>
连接文字</a>
,<href=“/”>
中,“/”为连接地址。
<a href="/">
连接文字 </a>
斜体<a>
<em>
连接文字</em>
</a>
,可以使有链接的斜体有以下效果。
<a href="/">
<em>
连接文字</em>
</a>
为了强调一个重要的文本段.
example
The following snippet of text is rendered as bold text.
<strong>
rendered as bold text. </strong>
重要的颜色.添加 class="sblue"
或 class="sred"
改变粗体的颜色。
example
The following snippet of text is rendered as bold text.
The following snippet of text is rendered as bold text.
<strong class="sblue">
rendered as bold text. </strong>
<strong class="sred">
rendered as bold text. </strong>
斜体
example
Circuit classique qui comprend 4 villes incontournables en Chine.
<em>
4 villes incontournables en Chine. </em>
该列表没有明确的序号标识
example
<ul>
<li>
Une découverte profonde dans le Yunnan </li>
</ul>
example
<ul>
<li class="transverse">
Une découverte profonde dans le Yunnan </li>
<li class="transverse">
Une découverte profonde dans le Yunnan </li>
<div style="clear:both;">
<div>
<li class="transverse">
Une découverte profonde dans le Yunnan </li>
<li class="transverse">
Une découverte profonde dans le Yunnan </li>
<div style="clear:both;">
<div>
<li class="transverse">
Une découverte profonde dans le Yunnan </li>
<li class="transverse">
Une découverte profonde dans le Yunnan </li>
<div style="clear:both;">
<div>
</ul>
example
<ul>
<li class="liWithBackground">
<img class="liIcon" src="/Publicbin/pic/drop-1.GIF"/>
</li>
<li class="liWithBackground">
<img class="liIcon" src="/Publicbin/pic/drop-1.GIF"/>
</li>
</ul>
该列表有明确的序号标识
example
<ol>
<li>
Une découverte profonde dans le Yunnan </li>
</ol>
example
默认格式: <img src="图片路径地址/" alt="图片描述">
图片右对齐: <img class="floatright" src="图片路径地址/" alt="图片描述">
图片左对齐: <img class="floatleft" src="图片路径地址/" alt="图片描述">
图片默认为左对齐。大家可以选择在图片属性里选择图片位置,也可以添加class属性。
example
<div class="picWithTitle">
<img src="/" alt="greatwall"/>
<span class="photoTitle">
The Badaling Great Wall </span>
</div>
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
<table class="table">
<thead>
<tr>
<th>
# </th>
<th>
First Name </th>
<th>
Last Name </th>
<th>
Username </th>
</tr>
</thead>
<tbody>
<tr>
<td>
1 </td>
<td>
Mark </td>
<td>
Otto </td>
<td>
@mdo </td>
</tr>
</tbody>
</table>
example
中文名: | 国庆节 |
---|---|
英文名: | National Day |
时间: | 10月1日 |
节日象征: | 国家独立 |
法定假期: | 3天 |
---|---|
庆祝缘由: | 宣告中华人民共和国成立的日子 |
庆祝范围: | 全国 |
纪念方式: | 大规模、全民性庆典活动 |
<div class="infotable">
<table class="tableleft">
<tr>
<th>
中文名: </th>
<td>
国庆节 </td>
</tr>
<tr>
<th>
英文名: </th>
<td>
National Day </td>
</tr>
<tr>
<th>
时间: </th>
<td>
10月1日 </td>
</tr>
<tr>
<th class="border">
节日特征: </th>
<td class="border">
国家独立 </td>
</tr>
</table>
<table class="tableright">
<tr>
<th>
法定假期: </th>
<td>
3天 </td>
</tr>
<tr>
<th>
庆祝缘由: </th>
<td>
宣告中华人民共和国成立的日子 </td>
</tr>
<tr>
<th>
庆祝范围: </th>
<td>
全国 </td>
</tr>
<tr>
<th class="border">
纪念方式: </th>
<td class="border">
大规模、全民性庆典活动 </td>
</tr>
</table>
<div class="clear">
</div>
<h2 class="summaryhead">
节日活动 </h2>
</div>
example
Station | Outer Ring | Inner Ring | ||||
---|---|---|---|---|---|---|
First Train | Last Train | First Train | Last Train | |||
Total Line | To Jishuitan | Total Line | To Xizhimen | |||
Xizhimen | 05:09 | 22:14 | 22:59 | 05:33 | 22:41 | ---- |
<table cellspacing="1" class="tab1">
<tbody>
<tr>
<th width="155" rowspan="3" class="tac">
<strong class="sblue">
Station </strong>
</th>
<th width="271" colspan="3" class="tac">
<strong class="sblue">
Outer Ring</strong>
</th>
<th width="313" colspan="3" class="tac">
<strong class="sblue">
Inner Ring</strong>
</th>
</tr>
<tr>
<th width="83" rowspan="2" class="tac">
First Train </th>
<th width="189" colspan="2" class="tac">
Last Train </th>
<th width="104" rowspan="2" class="tac">
First Train </th>
<th width="209" colspan="2" class="tac">
Last Train </th>
</tr>
<tr>
<th width="84" class="tac">
Total Line </th>
<th width="105" class="tac">
To Jishuitan </th>
<th width="104" class="tac">
Total Line </th>
<th width="105" class="tac">
To Xizhimen </th>
</tr>
<tr>
<td width="155" class="tac">
Xizhimen </td>
<td width="83" class="tac">
05:09 </td>
<td width="84" class="tac">
22:14 </td>
<td width="105" class="tac">
22:59 </td>
<td width="104" class="tac">
05:33 </td>
<td width="104" class="tac">
22:41 </td>
<td width="105" class="tac">
---- </td>
</tr>
</tbody>
</table>
example
Station | To Sihuidong | To Pingguoyuan | ||
---|---|---|---|---|
First Train | Last Train | First Train | Last Train | |
Pingguoyuan | 05:10 | 22:55 | 05:40 | 00:11 |
<table cellspacing="1" class="tab1">
<tbody>
<tr>
<th class="tac" width="156" rowspan="2">
<strong class="sblue">
Station </strong>
</th>
<th class="tac" width="280" colspan="2">
<strong class="sblue">
To Sihuidong</strong>
</th>
<th class="tac" width="272" colspan="2">
<strong class="sblue">
To Pingguoyuan</strong>
</th>
</tr>
<tr>
<th class="tac" width="133">
First Train </th>
<th class="tac" width="147">
Last Train </th>
<th class="tac" width="147">
First Train </th>
<th class="tac" width="125">
Last Train </th>
</tr>
<tr>
<td class="tac" width="156">
Pingguoyuan </td>
<td class="tac" width="133">
05:10 </td>
<td class="tac" width="147">
22:55 </td>
<td class="tac" width="147">
05:40 </td>
<td class="tac" width="125">
00:11 </td>
</tr>
</tbody>
</table>
example
Station | Clockwise (Baogou - Chedaogou) |
Station | Counter-Clockwise (Chedaogou - Bagou) |
|||||
---|---|---|---|---|---|---|---|---|
First Train | Last Train | First Train | Last Train | |||||
Whole Line | Terminal: Bagou | Terminal: Songjiazhuang | Whole Line | Terminal: Chedaogou | ||||
Bagou | 04:54 | 20:23 | 22:08 | 22:27 | Suzhoujie | 06:34 | 22:32 | 00:18 |
<table cellspacing="1" class="tab1">
<tbody>
<tr>
<th class="tac" width="223" rowspan="3">
<strong class="sblue">
Station </strong>
</th>
<th class="tac" width="252" colspan="4">
<strong class="sblue">
Clockwise <br/>
(Baogou - Chedaogou)
</strong>
</th>
<th class="tac" width="252" rowspan="3">
<strong class="sblue">
Station</strong>
</th>
<th class="tac" colspan="3">
<strong class="sblue">
Counter-Clockwise <br/>
(Chedaogou - Bagou)
</strong>
</th>
</tr>
<tr>
<th class="tac" width="120" rowspan="2">
First Train </th>
<th class="tac" width="132" colspan="3">
Last Train </th>
<th class="tac" width="132" rowspan="2">
First Train </th>
<th class="tac" width="132" colspan="2">
Last Train </th>
</tr>
<tr>
<th class="tac" width="120">
Whole line </th>
<th class="tac" width="120">
Terminal: Bagou </th>
<th class="tac" width="132">
Terminal: Songjiazhuang </th>
<th class="tac" width="120">
Whole line </th>
<th class="tac" width="132">
Terminal: Chedaogou </th>
</tr>
<tr>
<td width="223" class="tac">
Bagou </td>
<td width="120" class="tac">
04:54 </td>
<td width="120" class="tac">
20:23 </td>
<td width="120" class="tac">
22:08 </td>
<td width="132" class="tac">
22:27 </td>
<td width="132" class="tac">
Suzhoujie </td>
<td width="132" class="tac">
06:34 </td>
<td width="120" class="tac">
22:32 </td>
<td width="132" class="tac">
00:18 </td>
</tr>
</tbody>
</table>
example
Station |
To Xiju |
To Zhangguozhuang |
|||
---|---|---|---|---|---|
First Train |
Last Train |
First Train |
Last Train |
||
To Zhangguozhuang (Omnidistance) |
To Dawayao (Halfway) |
||||
Zhangguozhuang |
05:30 |
22:10 |
--- |
--- |
--- |
<table class="table1" cellspacing="1">
<tbody>
<tr>
<th rowspan="3">
<p style="width:120px;">
<strong class="sblue">
Station </strong>
</p>
</th>
<th rowspan="2">
<p style="width:200px;">
<strong class="sblue">
To Xiju </strong>
</p>
</th>
<th rowspan="3">
<p style="width:413px;">
<strong class="sblue">
To Zhangguozhuang </strong>
</th>
</tr>
<tr>
<th rowspan="2">
<p style="width:80px;">
First Train </p>
</th>
<th rowspan="2">
<p style="width:80px;">
Last Train </p>
</th>
<th rowspan="2">
<p style="width:100px;">
First Train
</p>
</th>
<th colspan="3">
<p style="width:271px;">
Last Train
</p>
</th>
</tr>
<tr>
<th>
<p style="width:171px;">
To Zhangguozhuang (Omnidistance)
</p>
</th>
<th>
<p style="width:120px;">
To Dawayao (Halfway)
</p>
</th>
</tr>
<tr>
<td>
<p style="width:120px;">
Bagou
</p>
</td>
<td>
<p style="width:80px;">
05:30
</p>
</td>
<td>
<p style="width:80px;">
22:10
</p>
</td>
<td>
<p style="width:100px;">
---
</p>
</td>
<td>
<p style="width:171px;">
---
</p>
</td>
<td>
<p style="width:120px;">
---
</p>
</td>
</tr>
</tbody>
</table>
用<blockquote>
来写一段引用,直接引用我们推荐使用<p>
标签。
example
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
<blockquote>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
</blockquote>
添加<small>
标签来表示来源,来源的名字写在<cite>
标签里,
example
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
<blockquote>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<small>
Someone famous in <cite Title="Source Title">
Source Title.</cite>
</small>
</blockquote>
一个关于其描述的列表。
example
<dl>
<dt>
Description lists</dt>
<dd>
A description list is perfect for defining terms.</dd>
</dl>
example
<dl class="dl-horizontal">
<dt>
Description lists</dt>
<dd>
A description list is perfect for defining terms.</dd>
<dt>
Euismod</dt>
<dd>
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.<dd>
Donec id elit non mi porta gravida at eget metus.</dd>
</dl>
example
Twitter, Inc.<address>
<strong>
Twitter, Inc.</strong>
<br>
<br>
<br>
</address>
<address>
<strong>
Full Name</strong>
<br>
<a href="/">
first.last@gmail.com</a>
</address>
example
秋に宏村へ紅葉観賞2898元/人より
<div class="tourinfo">
<div class="tourinfotit">
<p class="tourname">
<a href="/">
秋に宏村へ紅葉観賞</a>
<span class="tourprice">
2898元/人より</span>
</p>
</div>
<div class="tourimg">
<a href="/">
<img width="250px" height="130px" src="image/tachuan.jpg" alt="塔川の紅葉">
</a>
</div>
<div class="tourtxt">
<h3>
黄山・屯渓・宏村(4日間)</h3>
<p>
毎年11月は塔川紅葉のベスト観賞時期です。烏[木臼](ナンキンハゼ)の葉は霜降節気後、緑から黄色、赤色になり、古い民居と互いに照り映えて、とても綺麗です。絶対に見逃せない撮影スポットです。</p>
<p class="pricebut">
<a href="/">
<img src="/pic/pricedetails.jpg">
</a>
</p>
</div>
<div class="clear">
</div>
</div>
example
<div class="tourinfo2">
<h2>
秋に宏村へ紅葉観賞</h2>
<div class="tourimg2">
<a href="/">
<img width="250px" height="130px" src="image/tachuan.jpg" alt="塔川の紅葉">
</a>
</div>
<div class="tourtxt2">
<h3>
黄山・屯渓・宏村(4日間)</h3>
<div class="price">
<span>
价格: <strong class="redprice">
2898元/人より
</strong>
</span>
</div>
<p>
毎年11月は塔川紅葉のベスト観賞時期です。烏[木臼](ナンキンハゼ)の葉は霜降節気後、緑から黄色、赤色になり、古い民居と互いに照り映えて、とても綺麗です。絶対に見逃せない撮影スポットです。</p>
<p class="pricebut2">
<a href="/">
<img src="/pic/pricedetails.jpg">
</a>
</p>
</div>
<div class="clear">
</div>
</div>
example
Pékin, la capitale de la Chine, une ancienne ville historique brille à nouveau et devient une ville moderne qui fournit les équipements modernes et confortables et il vous offre un image de la nouvelle Chine.
Pékin est intournable pour tous les visiteurs qui veulent voyager en Chine. Comme l'une des anciennes grandes capitales mondiales, elle abrite de beaux vestiges de l’ancienne Chine. Nous vous proposons de différents circuit à Pékin. Suivez le lien pour jeter un coup d’oeil sur les voyages organisés les plus populaires.la capitale de la Chine, une ancienne ville historique brille à nouveau et devient une ville moderne qui fournit les équipements modernes et confortables et il vous offre un image de la nouvelle Chine. Pékin est intournable pour tous les visiteurs qui veulent voyager en Chine. Comme l'une des anciennes grandes capitales mondiales, elle abrite de beaux vestiges de l’ancienne Chine. Nous vous proposons de différents circuit à Pékin. Suivez le lien pour jeter un coup d’oeil sur les voyages organisés les plus populaires.
<div class="box-760">
<img src="image/tibet.jpg" alt="tibet"/>
<p>
txt content</p>
</div>
<div class="box-760">
<img class="floatright" src="image/tibet.jpg" alt="tibet"/>
<p>
txt content</p>
</div>
example
<div class="top-todo">
<p class="titleCenter">
Hutong</p>
<img class="normal" src="/information-view/information/image/top-todo-titlebg.png"/>
<a href="/">
<img class="normal-pic" src="image/hutong.jpg" alt="hutong"/>
</a>
<p class="infoCenter">
<a href="/">
La voie sud des « Gong et des Tambours » se classe parmi les plus anciennes rues de Pékin. Sa popularité a grandi avec la venue des touristes et de... </a>
</p>
<ul>
<li>
<a href="/">
La voie sud des « Gong et des Tambours » </a>
</li>
<li>
<a href="/">
La voie sud des « Gong et des Tambours » </a>
</li>
</ul>
</div>
<div class="top-todo">
<p class="titleCenter">
Hutong</p>
<img class="normal" src="/information-view/information/image/top-todo-titlebg.png"/>
<img class="normal-pic" src="image/hutong.jpg" alt="hutong"/>
<p class="infoCenter">
La voie sud des « Gong et des Tambours » se classe parmi les plus anciennes rues de Pékin. Sa popularité a grandi avec la venue des touristes et de... </p>
<ul>
<li>
<a href="/">
La voie sud des « Gong et des Tambours » </a>
</li>
<li>
<a href="/">
La voie sud des « Gong et des Tambours » </a>
</li>
</ul>
</div>
<div style="clear:both;">
</div>
example
St. Paul Cathedral is the greatest church in Macau combined with the architectural styles of Europe and the East, but it was burned down in 1835, only leaving its large and beautiful fa?ade and the front stairway.
<div class="top-todostyle2">
<h2 class="bg-gray">
1. Visit Ruins of St. Paul Cathedra</h2>
<div class="pictureleft">
<img src="image/tibet.jpg" alt="tibet" />
</div>
<div class="txtright">
<p>
St. Paul Cathedral is the greatest church in Macau combined with the architectural styles of Europe and the East, but it was burned down in 1835, only leaving its large and beautiful fa?ade and the front stairway.</p>
<ul>
<li>
<a href="/">
Macau Shopping </a>
</li>
<li>
<a href="/">
Macau Shopping </a>
</li>
<li>
<a href="/">
Macau Shopping </a>
</li>
<li>
<a href="/">
Macau Shopping </a>
</li>
<li>
<a href="/">
Macau Shopping </a>
</li>
</ul>
</div>
<div style="clear:both;">
</div>
</div>
example
Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
High (oC) | -1 | 5 | 14 | 22 | 28 | 32 | 33 | 32 | 27 | 19 | 8 | -0 |
Low (oC) | -15 | -11 | -3 | 4 | 10 | 14 | 17 | 15 | 9 | 1 | -6 | -12 |
Rain (mm) | 2.54 | 2.54 | 2.54 | 3.81 | 3.81 | 6.35 | 10.16 | 5.08 | 2.54 | 2.54 | 2.54 | 2.54 |
High (oF) | 30 | 40 | 56 | 70 | 81 | 88 | 91 | 89 | 80 | 66 | 46 | 31 |
Low (oF) | 5 | 12 | 26 | 39 | 49 | 57 | 61 | 58 | 47 | 33 | 21 | 9 |
Rain (in) | 0.1 | 0.1 | 0.1 | 0.15 | 0.15 | 0.25 | 0.4 | 0.2 | 0.1 | 0.1 | 0.1 | 0.1 |
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="averageWeather roundCorner">
<tbody>
<tr>
<img class="normal-pic" src="image/hutong.jpg" alt="hutong"/>
<th>
</th>
<th class="month jan">
Jan </th>
<th class="month feb">
Feb </th>
<th class="month mar">
Mar </th>
<th class="month apr">
Apr </th>
<th class="month may">
May </th>
<th class="month jun">
Jun </th>
<th class="month jul">
Jul </th>
<th class="month aug">
Aug </th>
<th class="month sep">
Sep </th>
<th class="month oct">
Oct </th>
<th class="month nov">
Nov </th>
<th class="month dec">
Dec </th>
</tr>
<tr class="gray">
<td valign="top">
<strong>
High (oC) </strong>
</td>
<td>
-15</td>
<td>
-11 </td>
<td>
-3 </td>
<td>
4 </td>
<td>
10 </td>
<td>
14 </td>
<td>
17 </td>
<td>
15 </td>
<td>
9 </td>
<td>
1 </td>
<td>
-6 </td>
<td>
-12 </td>
</tr>
<tr>
<td valign="top">
<strong>
Low (oC) </strong>
</td>
<td>
-1 </td>
<td>
5 </td>
<td>
14 </td>
<td>
22 </td>
<td>
28 </td>
<td>
32 </td>
<td>
33 </td>
<td>
32 </td>
<td>
27 </td>
<td>
19 </td>
<td>
8 </td>
<td>
-0 </td>
</tr>
<tr>
<td valign="top">
<strong>
Rain (mm) </strong>
</td>
<td>
2.54 </td>
<td>
2.54 </td>
<td>
2.54 </td>
<td>
3.81 </td>
<td>
3.81 </td>
<td>
6.35 </td>
<td>
10.16 </td>
<td>
5.08 </td>
<td>
2.54 </td>
<td>
2.54</td>
<td>
2.54</td>
<td>
2.54</td>
</tr>
<tr class="gray">
<td valign="top">
<strong>
High (oF) </strong>
</td>
<td>
30</td>
<td>
40 </td>
<td>
56 </td>
<td>
70 </td>
<td>
81 </td>
<td>
88 </td>
<td>
91 </td>
<td>
89 </td>
<td>
80 </td>
<td>
66 </td>
<td>
46 </td>
<td>
31 </td>
</tr>
<tr>
<td valign="top">
<strong>
Low (oF) </strong>
</td>
<td>
5 </td>
<td>
12 </td>
<td>
26 </td>
<td>
39 </td>
<td>
49 </td>
<td>
57 </td>
<td>
61 </td>
<td>
58 </td>
<td>
47 </td>
<td>
33 </td>
<td>
21</td>
<td>
9 </td>
</tr>
<tr>
<td valign="top">
<strong>
Rain (in) </strong>
</td>
<td>
0.1 </td>
<td>
0.1</td>
<td>
0.1</td>
<td>
0.15</td>
<td>
0.15 </td>
<td>
0.25 </td>
<td>
0.4 </td>
<td>
0.2</td>
<td>
0.1 </td>
<td>
0.1</td>
<td>
0.1</td>
<td>
0.1</td>
</tr>
</tbody>
</table>