HTML标签

<!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" />
<title>无标题文档</title>
</head>

<body>
<p>
  <!--<OPYHTOUP>标签定义选项组
   optgroup元素用于组合选项,当您使用一个长的选项列表 时,
   对相关的选项进行组合会使处理更加容易-->
     <select>
     </select>
</p>
   <select>
   <optgroup label="swedish cars">
   <option value="volvo">java</option>
   <option value="saab">C++</option>
   
   </optgroup>
   <optgroup label="german cars">
   <option value="mercedes">c</option>
   
   <option value="audi">BC
   </option>
   </select>
   <p><br />
     <!--bdo标签可以覆盖文字默认方向-->
     <!--属性:dir ltr{默认 从左向右}  rtl从右向左-->
     <bdo dir="rtl">
     here is some hebrew text
     </bdo>
   </p>
   <p>&nbsp;</p>
   <p>&nbsp; </p>
   <!--fieldset 元素可将表单内的相关元素分组。

<fieldset> 标签将表单内容的一部分打包,生成一组相关表单的字段。

当一组表单元素放到 <fieldset> 标签内时,浏览器会以特殊方式来显示它们,它们可能有特殊的边界、3D 效果,或者甚至可创建一个子表单来处理这些元素。

<fieldset> 标签没有必需的或唯一的属性。

<legend> 标签为 fieldset 元素定义标题。-->
<form>
<fieldset>
<legend>health information</legend>
height:<input type="texe" />
weight:<input type="text" />
</fieldset>
</form>
<!--caption 元素定义表格标题-->
<table border="1">
<caption>mothly savings</caption>
<tr>
<th>month</th>
<th>savings</th>

</tr>
<tr>
<td>january</td>
<td>$100</td>
</tr>
</table>
<!---
定义和用法

<col> 标签为表格中一个或多个列定义属性值。

如需对全部列应用样式,<col> 标签很有用,这样就不需要对各个单元和各行重复应用样式了。

您只能在 table 或 colgroup 元素中使用 <col> 标签。
-->
<table width="100%" border="1">
<col align="left" />
<col align="left" />
<col align="right" />
<tr>
<th>isbn</th>
<th>title</th>
<th>price</th>
</tr>
<tr>
<td>34769859</td>
<td>my first html</td>
<td>$#$</td>
</tr><!---->
</table>

<!--<ol> 标签定义有序列表。与LI一起用-->
<ol>
<li>coffee</li>
<li>tea</li>
<li>milk</li>
</ol >
<ol start="50">
<li>coffee</li>
<li>tea</li>
<li>milk</li>
</ol>
</body>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值