如果写一个android支持的html文件

<?xml version="1.0" encoding="UTF-8"?>
<!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">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="HandheldFriendly" content="true" />
    <meta http-equiv="Cache-control" content="no-cache"/>
    <title>Software License</title>
    <style>
        .box { overflow:hidden; width:96%; margin: 0 auto; padding-top: 20px;}
        .lan { overflow:hidden; margin-bottom:20px; color:#2f2f2f; background-color:#eee;}
        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        p,
        blockquote {
        margin: 0;
        padding: 0;
        text-align: left;
        }
        body {
        font-family: sans, Arial, sans-serif;
        font-size: 13px;
        line-height: 18px;
        color: #2f2f2f;
        background-color: white;
        margin:0;
        padding: 0;
        text-align: center;
        }
        a {
        color: #0069d6;
        }
        a:hover {
        color: #0050a3;
        text-decoration: none;
        }
        a img {
        border: none;
        }
        p {
        overflow:hidden;
        padding:10px 0 0 10px;
        margin-bottom: 9px;
        }
        h1 {
        margin-bottom: 18px;
        font-size: 18pt;
        text-decoration:underline;
        }
        h2 {
        font-size: 24px;
        }
        h3 {
        font-size: 18px;
        }
        h4 {
        font-size: 20px;
        }
        h5 {
        font-size: 14px;
        }
        h6 {
        font-size: 13px;
        }
        hr {
        margin: 0 0 19px;
        border: 0;
        border-bottom: 1px solid #ccc;
        }
        ol, ul { margin:0 10px 0 0; text-align: left;}
        li { text-align: left;}

        /*
        @media screen and (min-width: 914px) {
        body {
        width: 854px;
        margin:10px auto;
        }
        }
        @media print {
        body,code,pre code,h1,h2,h3,h4,h5,h6 {
        color: black;
        }
        table, pre {
        page-break-inside: avoid;
        }
        }
        */
    </style>
</head>
<body>
<div class="box">

<h1>aaa</h1>
<div class="lan">

   <p style="font-size:10pt; font-weight:bold;">XXXXXXXXXXXXXXXXXXXXX</p>

   <p>GGGGGGGGGG <br />
      GGGGGGGGGGG<br />
51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA<br />
Everyone is permitted to copy and distribute verbatim copies<br />
of this license document, but changing it is not allowed.
</p>

 <p>[This is the first released version of the library GPL.  It is<br>
 numbered 2 because it goes with version 2 of the ordinary GPL.]
</p>

 <p style="font-size:10pt; font-weight:bold;">Preamble</p>

<p>
在清华大学图书馆的学位论文阅览室,可以查询到一篇十三年前的博士论文——《中国农村市场化研究》,全文共169页,淡黄色封皮,指导教师为清华大学经济学研究所教授刘美珣。
</p>
<p>
论文的作者是时任福建省省长习近平。对于要不要取消户籍限制,当时学界和理论界存在争议,他在论文中坚持认为,取消城乡二元户籍制度,是历史发展的必然趋势,政府应理智而勇敢地面对这一现实。</p>
<p>
“有一个重要问题应引起高度重视,就是改革开放以来,我们所进行农村剩余劳动力转移在总体上仍未脱离‘离乡不离土’的模式。”在2001年12月提交的博士论文中,习近平认为:“绝大多数在城市务工的农民并未真正融入城市,造成这一问题的根本原因是户籍制度的限制。”
</p>

  <p <strong>style="font-size:10pt; font-weight:bold;"</strong>>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX </p>

  <ol>
        <li> ddddddddddddddddddddddddd</li>
<li>sdfsdfsdfds</li>

You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:
 <ul>         
 <li>Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.)</li>
  <li> Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.</li>
  <li>If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place.</li>
  <li>Verify that the user has already received a copy of these materials or that you have already sent this user a copy.</li>
 </ul> 
</ol>


</div>

</div>
</body>
</html>



<p> XXX </p> 表示一个段落


<ol> XXX </ol>  表示有序列表

<ul>XXX</ul> 表示无序列表


效果图:



如果写一个android支持的html文件,,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。