banner



How To Retrive A Deleted Template In Dreamweaver

folioSUMMARY

A very brief introduction to HTML tags, META tags, Head Content and the code that controls editable template regions.

Getting into HTML Basics

Discover and cover the Lawmaking, Head Content and Design panes

If you expect in the Head Content:

VIEW/Head CONTENT

...which can exist seen sandwiched between the Code and Pattern panes (figure ane), you'll notice that there are now three 'head items' showing. If you lot click on each one, it volition highlight the associated code in the Code window. If y'all were to remove that piece of code, the associated head item would also be deleted. This makes information technology really piece of cake to run across what everything does, and therefore makes information technology all easier to larn.

Split View in Dreamweaver

Effigy one - Dissever View in Dreamweaver shows the Caput Content icons

Click on the middle caput item and you'll encounter that it's responsible for the <title> of the folio. In the Code pane, the title is currently 'Untitled Document', a phrase sandwiched betwixt two HTML 'tags', <title> and </title>.

Opening and endmost tags

This is how HTML works - every element has an 'opening' tag and a 'closing' tag. The latter is identical to the old, with the addition of a '/' before the word or letters.

For example, <h1>Headline One</h1> is how yous would ascertain a main headline.

Every HTML page (we'll gloss over the encoding data at the meridian) is enclosed past an <html> </html> tag. Everything that appears on the page or in the groundwork is enclosed by this tag. Everything in the Head Content is enclosed by an <head> </head> tag, and everything on the page appears within the <torso> </body> tag.

Equally a examination (working in Split up View), click in the Design pane (the currently blank area at the bottom of the document window) and type something in. As you type, you'll see the corresponding lawmaking appear in the Code window.

Once you've grasped the basic HTML tag concept, when y'all look at the Lawmaking pane again, there's very little there that tin can't be easily understood. The simply potentially confusing items are the 'TemplateBeginEditable' lines of code, only fifty-fifty these are fairly cocky-explanatory.

Basically, these lines of code define which parts of a folio created from the template volition be editable - and which parts will be un-editable. When you create a new template, two 'Editable Regions' are automatically created. The rest you'll define afterward on.

Default editable regions are preset for the page title and (some of the) head content for reasons to practice with usability and search engine optimisation (SEO).

Why is the title content a default editable region?

The Title is what appears at the elevation of a browser when you're visiting a web page online. It should clearly and succinctly describe the content of the page - it's besides what appears as the headline for a effect in standard Google search results - so it's very of import to have a dissimilar i for every page. This wouldn't be possible if it wasn't made an editable region in the template.

Look at the head detail in the Caput Content pane once more. It has a blueish line around information technology. This tells you lot at a glance that the Title tag is enclosed within an editable region. If you were to move the <title>Untitled Document</title> line above the <!-- TemplateBeginEditable name="doctitle" --> line, it would become uneditable on other pages, clarified past the disappearance of the bluish line around its icon in the Head Content pane. Simple, no?

Why is some of the head content an editable region?

By default, the editable head content region is empty - but the region has been put in that location because you'll be wanting to add together META tags. These consist primarily of a comma-separated list of keywords and/or phrases, and a page description. Originally these were used past search engines to make up one's mind what the page was about - but keyword-stuffing and other abuse has lowered the importanced placed on them by search engines, especially Google.

However, META Tags need to modify from page to page just like the championship - because non every page will incorporate the same content. Google doesn't like a site to have identical titles or descriptions - it makes it harder to determine what range of topics a website contains - and your website's search engine rankings could suffer as a outcome.

Humans suffer also

From a usability perspective, remember you're actually writing for humans - not browsers, computers or fifty-fifty search engines. If search engine results contain generic, samey titles and descriptions (or even, horror of horrors, 'Untitled Document'), the page from which they come (no matter how proficient its bodily content might be) won't get a expect-in. Brand the META tags unlike for every folio, no matter how deadening the job is (and it is quite wearisome).

For at present though, just give the page a title which is generic and promise yourself that yous'll change it on every page equally they are created.

So now that you've grasped the basics, allow movement on to some page styling.

HTML Basics - Finish of Commodity

Get to previous article | Become to Home Page | Go to next article

Feedback required!

How To Retrive A Deleted Template In Dreamweaver,

Source: http://www.using-dreamweaver.com/building-a-website-using-dreamweaver/html-basics.html

Posted by: upchurchsucken.blogspot.com

0 Response to "How To Retrive A Deleted Template In Dreamweaver"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel