How to change HTML template in NetBeans 6.7?
In NetBeans 6.7 HTML template should be in "Tools > Templates", "Web" section. If it isn't there, maybe you've downloaded "Java SE only" version? Or any other of the downloads that don't contain "Java Web and EE"? You cand download either "Java" or "All" version from here. If you are going create html, or maybe some other files from that "Web" category, then you are better off getting full version right now. It will save you a lot of trouble later.
Or you can just add that template by creating "Html.html" file with the following contents (that is the default template from NetBeans):
<#assign licenseFirst = "<!--">
<#assign licensePrefix = "">
<#assign licenseLast = "-->">
<#include "../Licenses/license-${project.license}.txt">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=${encoding}">
</head>
<body>
TODO write content
</body>
</html>
Then going to "Tools > Templates" window, clicking "Add" button and selecting that file.
And if you want to change indentation for those kind of files, go to "Tools > Options", "Editor" section, "Formatting" tab, select in "Language : All Languages" and change the "Number of spaces per indent" to your desired value. If "Expand tabs to spaces" option is selected, then "Tab size" field determines how many spaces will be inserted when you hit tab.