css外部链接样式表好像没反应
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>样式表css的应用</title>
<style type="text/css">
h1{
color:green;
text-align: center;
font-style: italic;
font-family: 楷体;
font-size: x-large
}
</style>
</head>
<body>
<h1>样式表的应用,应用样式h1</h1>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>样式表CSS应用</title>
<link rel = stylesheet type = "text/css" href = "ex05 - 010_1.css">
<link rel = stylesheet type = "text/css" href = "ex05 - 010_2.css">
<link rel = stylesheet type = "text/css" href = "NewFile7.jsp.css">
</head>
<body>
<h1>样式表的应用,应用样式h1</h1>
</body>
</html>
无论怎么删减下面(newfile7是上面放的第一段代码,前两个是书上的,我也不知道是哪里的url)
<link rel = stylesheet type = "text/css" href = "ex05 - 010_1.css">
<link rel = stylesheet type = "text/css" href = "ex05 - 010_2.css">
<link rel = stylesheet type = "text/css" href = "NewFile7.jsp.css">
都是
这是newfile7的运行结果
为啥newfile8运行出来不会变格式呀.