12.09.2015 Views

Boot Camp

Web Authoring Boot Camp - StudioBast

Web Authoring Boot Camp - StudioBast

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

QuickLook<br />

Links<br />

Linking Images<br />

One good way to make sure a visitor can find your website’s home page from wherever<br />

s/he happens to be in your site is to link the logo to the home page. Your logo is usually<br />

in the banner/identifier segment of every page, and you can wrap the logo image inside a<br />

link:<br />

<br />

<br />

<br />

Link Output<br />

So, you have links. Where do the linked items open? On the Web, you’ve seen pages<br />

open in place of the page with the link you just clicked. In other cases, it opens in a new<br />

window or tab.<br />

Output forms include:<br />

• Self: When a visitor clicks a link without a target attribute, the new page will open<br />

over the page s/he is on. If s/he starts looking at that new website, s//he might not<br />

hit the browser’s back button and return to your website – a lost visitor.<br />

• Window: When a visitor clicks a link with a target attribute, the link usually<br />

opens in a new window, so that two windows are now open – your website and<br />

the linked page. This can help you keep visitors in the vicinity of your website,<br />

unless they get frustrated with too many open windows.<br />

• Tab: If a visitor has a browser set to ‘open new tabs’, or chooses to do that from<br />

a right-click context menu on the link, the new page will open in a new tab in the<br />

same window. This is efficient but many browsers just default to new windows.<br />

Target<br />

The target attribute is currently supported in all major browsers, and is used to tell the<br />

link where the linked page should open. Sites are using target=”_blank” for links to make<br />

sure they will open the link in a new window and keep the visitor on the site, rather than<br />

potentially losing the visitor if s/he doesn’t use the browser’s back button to return.<br />

115

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!