首页 >web前端 >H5教程 >HTML5的文本样式实例介绍

HTML5的文本样式实例介绍

PHP中文网
PHP中文网原创
2017-06-20 13:49:222125浏览

 文本样式

 a4b561c25d9afb9ac8dc4d70affff419加粗0d36329ec37a2cc24d42c7229b69747a

 5a8028ccc7a7e27417bff9f05adf5932倾斜72ac96585ae54b6ae11f849d2649d9e6
 88f336217b3880082bb52d49b5de60a5下划线04e11139013d3ca73accef66348e2e58
 2e44d2d3284d23d932e1fd85f3d4cf3a删除线6cf51b1709551acbf4a696702deda05f
 b96cac025db4031319c29e1eb68f19d6下标270ea406e83044e5b95e23270c35ff95
 2cdea26b4c3988e37d674b56660962a7上标2eb235f530502820017cce1685312d59
<code class="xml"><span class="hljs-tag"><span class="hljs-name"><span class="hljs-tag"><span class="hljs-name"><span class="hljs-tag"> <<span class="hljs-name">p></span></span></span></span></span></span></code><code class="xml"><span class="hljs-tag">段落元素</span></code><code class="xml"><span class="hljs-tag"><span class="hljs-name"><span class="hljs-tag"><span class="hljs-name"><span class="hljs-tag"><span class="hljs-name"><span class="hljs-tag"></<span class="hljs-name">p><br/></span></span></span></span></span></span></span></span></code>
<code class="xml"> <span class="hljs-tag"><<span class="hljs-name">br/>强制换行</span></span></code><code class="xml"><br/><code class="xml"><span class="hljs-tag"> <br/> <<span class="hljs-name">hr/>分割线</span></span></code><code class="xml"><br/></code></code>
<code class="xml">  <br/></code>
 <br/>
<code class="xml"><img src="https://img.php.cn/upload/article/000/000/001/a65c675bee748228335923caaac3fa27-0.png" alt=""/><br/><span   style="max-width:90%"><strong>制作表格</strong></span></code>
<code class="coq"> table<br/> tr(行)<br/> td(列)     
 cellspacing:设置外边距     
 cellpadding:设置内边距     
 align:水平对其方式<span class="hljs-built_in">left/<span class="hljs-built_in">right/center     
 valign:横向对其方式<span class="hljs-built_in">top/middle/<span class="hljs-built_in">bottom     
 caption设置表格标题,必须跟在             
 table后面显示在表格上面<br/></span></span></span></span></code>
 
    1 2 3
    4 5 6
     
     78 9

列表

无序号列表:

ff6d136ddc5fdfeffaf53ff6ee95f18525edfb22a4f469ecb59f1190150159c61bed06894275b65c1ab86501b08a632eb25edfb22a4f469ecb59f1190150159c62bed06894275b65c1ab86501b08a632eb25edfb22a4f469ecb59f1190150159c63bed06894275b65c1ab86501b08a632eb25edfb22a4f469ecb59f1190150159c64bed06894275b65c1ab86501b08a632eb25edfb22a4f469ecb59f1190150159c65bed06894275b65c1ab86501b08a632eb929d1f5ca49e04fdcb27f9465b944689

有序号列表:

c34106e0b4e09414b63b2ea253ff83d625edfb22a4f469ecb59f1190150159c6abed06894275b65c1ab86501b08a632eb25edfb22a4f469ecb59f1190150159c6bbed06894275b65c1ab86501b08a632eb25edfb22a4f469ecb59f1190150159c6cbed06894275b65c1ab86501b08a632eb25edfb22a4f469ecb59f1190150159c6dbed06894275b65c1ab86501b08a632eb25edfb22a4f469ecb59f1190150159c6ebed06894275b65c1ab86501b08a632ebf6f112ef45f603be226bc581f9dd5e90

以上是HTML5的文本样式实例介绍的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn