beautypg.com

Add a link meta tag, Edit a link meta tag, Specify the link meta tag properties – Adobe Dreamweaver CC 2015 User Manual

Page 412: Working with server-side includes, About server-side includes

background image

405

Coding

Last updated 6/3/2015

Add a Link meta tag

1

Select Insert > HTML > Head Tags > Link.

2

Specify the Link meta tag properties in the dialog box that appears.

Edit a Link meta tag

1

Select View > Head Content.

2

Select the Link marker that appears at the top of the Document window.

3

In the Property inspector, specify the Link meta tag properties.

Specify the Link meta tag properties

Set the Link meta tag properties as follows:

Href

The URL of the file that you are defining a relationship to. Click the Browse button to browse to and select a

file, or type a path in the box. Note that this attribute does not indicate a file that you’re linking to in the usual HTML
sense; the relationships specified in a Link element are more complex.

ID

Specifies a unique identifier for the link.

Title

Describes the relationship. This attribute has special relevance for linked style sheets; for more information,

see the External Style Sheets section of the HTML 4.0 specification on the World Wide Web Consortium website at

www.w3.org/TR/REC-html40/present/styles.html#style-external

.

Rel

Specifies the relationship between the current document and the document in the Href box. Possible values

include Alternate, Stylesheet, Start, Next, Prev, Contents, Index, Glossary, Copyright, Chapter, Section, Subsection,
Appendix, Help, and Bookmark. To specify more than one relationship, separate values with a space.

Rev

Specifies a reverse relationship (the opposite of Rel) between the current document and the document in the

Href box. Possible values are the same as those for Rel.

Working with server-side includes

Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see

this article

.

About server-side includes

You can use Dreamweaver to insert server-side includes in your pages, edit the includes, or preview pages containing
includes.

A server-side include is a file that the server incorporates into your document when a browser requests your document
from the server.

When a visitor’s browser requests the document that contains the include instruction, your server processes the include
instruction and creates a new document in which the include instruction is replaced by the contents of the included
file. The server then sends this new document to the visitor’s browser. When you open a local document directly in a
browser, however, there’s no server to process the include instructions in that document, so the browser opens the
document without processing those instructions, and the file that’s supposed to be included doesn’t appear in the
browser. Thus, it can be difficult, without using Dreamweaver, to look at local files and see them as they’ll appear to
visitors after you’ve put them on the server.