Following on from the last lesson :
1.Open up Dreamweaver,and on the extreme right hand panel you will see files.Click on files and click on the file name that you created in the last lesson.This will open up your chosen page on the Dreamweaver workstation.Remember that there is still nothing in this folder.
2.On the very left hand side of the top menu bar in Dreamweaver you will see,as in the last lesson : | FILE | EDIT | VIEW | INSERT | MODIFY | TEXT | COMMANDS | SITE | WINDOWS | HELP |
Click on file,sub menu opens up, and click on new ( file & new ).You will notice that a new panel opens up.Click on create a blank page from html.(blank page/html)
3.Click on file again and save this blank page as template ( save as template,not save as,not save, but save as template ).The save as template dialog box opens up.It asks you to give your template a name,so you can give it any name that you want to.You will notice that on the very right hand side of Dreamweaver your file,( with your given name ) has created a sub file called dwt (dwt stands for dreamweaver template),with your given name for this template.
The code view for this template will look like below ) :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document ( untitled has been replaced with your chosen name )</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
</body>
</html>
Thats it,you have created a template ( there is still l nothing in this template at the moment but dont worry about that at this point ).A template represents the backbone of any website that is on the internet today,and it allows website owners to add pages to their websites at will,with minimal work involved.
Again,I will make the point to just practise this over and over again,regardless of your understanding or lack thereof of what you are doing.