第一种方式: <link href="1.css" type="text/css" rel="stylesheet" /> 第二种方式:在html文件里:<style type="text/css">....css文件</style>