CSS样式表引入的三种方式

方式一:内联样式表 在标签的内部书写,如:javascript <div style="background-color:red;"> </div> 方式二:内部样式表 在head标签中声明style标签而后在其中书写css样式,如:css <html> <head> <style type="text/css"> .test { background-color:red; } </style>
相关文章
相关标签/搜索