Aptana Studio 3 beta 的 HTML5 文件模板如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>new-file</title>
<meta name="description" content="" />
<meta name="generator" content="Studio 3 http://aptana.com/" />
<meta name="author" content="Wei Lou" />
<meta name="viewport" content="width=device-width; initial-scale=1.0" />
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
</head>
<body>
<div>
<header>
<h1>new-file</h1>
</header>
<nav>
<p><a href="/">Home</a></p>
<p><a href="/contact">Contact</a></p>
</nav>
<div>
</div>
<footer>
<p>© Copyright 2011 by Wei Lou</p>
</footer>
</div>
</body>
</html>
我想改变它。但我找不到办法。
Thanks!
Ingo 指出的方向对如何从头开始创建新模板进行了详尽的解释。在这种情况下,由于您只想修改现有模板,因此您可以尝试以下操作。
- 选择“命令”->“HTML”->“编辑此包”。这将在您的工作区中创建一个新的“HTML”项目。
- 打开“HTML”项目中的模板文件夹
- 编辑并保存 html5.html 文件
现在,当您创建新的 HTML 模板时,它应该使用您编辑的 html5.html 文件的副本。当然,您也可以编辑该项目中的任何其他模板。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)