【备忘】html最最常用的属性和标签

Content

0. 在html中通过CSS定义某标签的某属性

1. 属性

2. 标签

=================================

html最最常用的属性和标签

0. 在html中通过CSS定义某标签的某属性

CSS方式:

<head> 
  …… 
   <style type="text/css"> 
   <!-- 
  hr {color: sienna} 
  p {margin-left: 20px} 
  body {background-image: url("images/back40.gif")} 
  --> 
   </style> 
  …… 
</head> 


1.1 段首缩进2字符

text-indent:2em



你可能感兴趣的:(html,css)