Html basic tag

 

The <p> tag defines a paragraph.

http://www.w3schools.com/tags/tag_p.asp

 

The <td> tag defines a standard cell in an HTML table.

An HTML table has two kinds of cells:

  • Header cells - contains header information (created with the <th> element)
  • Standard cells - contains data (created with the <td> element)

The text in <th> elements are bold and centered by default.

The text in <td> elements are regular and left-aligned by default.

http://www.w3schools.com/tags/tag_td.asp

 

The <th> tag defines a header cell in an HTML table.

http://www.w3schools.com/tags/tag_th.asp

 

 

Lists

The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical.

Use the <li> tag to define list items.

http://www.w3schools.com/tags/tag_ol.asp

 

The <ul> tag defines an unordered (bulleted) list.

Use the <ul> tag together with the <li> tag to create unordered lists.

http://www.w3schools.com/tags/tag_ul.asp

 

The <li> tag defines a list item.

The <li> tag is used in ordered lists(<ol>), unordered lists (<ul>), and in menu lists (<menu>).

http://www.w3schools.com/tags/tag_li.asp

复制代码
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

<ol start="50">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
复制代码

 

 

The <dl> tag defines a description list.  用来定义

The <dl> tag is used in conjunction with <dt> (defines terms/names) and <dd> (describes each term/name).

http://www.w3schools.com/tags/tag_dl.asp 

 

The <dt> tag defines a term/name in a description list.  用来描述

The <dt> tag is used in conjunction with <dl> (defines a description list) and <dd> (describes each term/name).

http://www.w3schools.com/tags/tag_dt.asp 

 

The <dd> tag is used to describe a term/name in a description list.

The <dd> tag is used in conjunction with <dl> (defines a description list) and <dt> (defines terms/names).

Inside a <dd> tag you can put paragraphs, line breaks, images, links, lists, etc.

<dl>
  <dt>Coffee</dt>
  <dd>Black hot drink</dd>
  <dt>Milk</dt>
  <dd>White cold drink</dd>
</dl>

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(217)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2014-10-15 项目中同一个dll的x86和x64同时引用
点击右上角即可分享
微信分享提示