Home  >  Article  >  Web Front-end  >  CSS styles

CSS styles

WBOY
WBOYOriginal
2016-08-08 08:49:501257browse

CSS basic style

  • Inline style: Use the style attribute of the HTML tag directly in the page file. For example:
<span style="color: #800000;"> <p style="font-family:宋体;color: red;font-size: 10pt;">程序员</p></span>
  • Define the style in the page file: This way is to define the style through the