微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

html5 实体和全局属性及其他

代码

<!DottYPE html>
<html lang ="zh-cn">
<head>
  <Meta charset="utf-8">
  <Meta name="authou" content="bnbbs">
  
  <title>实体,全局属性和其他</title>

  <style type="text/css">
///id属性
  #abc{
      color:red;
  }




///class属性
  .abc{
  color:red;
  }
  </style>
</head>
<body>

<div>///< >
<music>
我    你///四个空格,一般只有一个空格
<b style="font-size:100px;">&copy;</b>


///全局属性
<p id="abc">这是ID</p>


<p class="abc">这是class</p>
<p class="abc">这是class</p>
<p class="abc">这是class</p>


<p contenteditable="ture">我可以修改吗</p> 

<p dir="rtl" >文字方向</p>

<p lang="en" title="这是HTML5教程" style="color:red";>HTML5</p>


</body>
</html>

ppt:

全局属性: id class contenteditable dir hidden lang title tabindex style

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。