求高手写一bat批处理。
index.html所在文件夹:d:\index.html
请问如何在
<head>
....................
</head>
标签里面(即在</head>的上一行)插入
<link href="templets/style/index.css" type="text/css" rel="stylesheet"/>
得到
<head>
.....................
<link href="templets/style/index.css" type="text/css" rel="stylesheet"/>
</head>
然后保存替换index.html?
------------------------------------------
index.html中的head标签代码范例:
<head>
<meta http-equiv="Content-Type" c>
<meta http-equiv="X-UA-Compatible" c>
<title>韩国门户网| HANGUOMALL.NET - 韩国服饰、时尚、娱乐最前沿</title>
<meta name="description" c>
<meta name="keywords" c>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="Bookmark" href="http://www.hanguomall.net/favicon.ico">
<link rel="stylesheet" type="text/css" href="index.css" media="all">
</head>
index.html所在文件夹:d:\index.html
请问如何在
<head>
....................
</head>
标签里面(即在</head>的上一行)插入
<link href="templets/style/index.css" type="text/css" rel="stylesheet"/>
得到
<head>
.....................
<link href="templets/style/index.css" type="text/css" rel="stylesheet"/>
</head>
然后保存替换index.html?
------------------------------------------
index.html中的head标签代码范例:
<head>
<meta http-equiv="Content-Type" c>
<meta http-equiv="X-UA-Compatible" c>
<title>韩国门户网| HANGUOMALL.NET - 韩国服饰、时尚、娱乐最前沿</title>
<meta name="description" c>
<meta name="keywords" c>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="Bookmark" href="http://www.hanguomall.net/favicon.ico">
<link rel="stylesheet" type="text/css" href="index.css" media="all">
</head>
