session 2.1. learn about web design principles draw a storyboard create external links create email...

17
Session 2.1

Upload: bruno-whiting

Post on 30-Mar-2015

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

Session 2.1

Page 2: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

Learn about Web Design principlesDraw a storyboardCreate external linksCreate email linksCreate internal links

Page 3: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

What is a good website from a design standpoint?

C.R.A.P. principles http://www.youtube.com/watch?v=mF_

mWi6r-9I

Page 4: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

Importance of business strategy for your website

Understand the client Tool: Client interview

Organizing the content of the website Website functionalities Storyboard

Page 5: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links
Page 6: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

Use of the <a> tagSyntax: <a href= “reference”>content</a>Attributes of the a element (See

page HTML 84).

Page 7: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

<a href=“http://www.cnn.com” >CNN</a>

Use of complete URL

With title attribute:<a href= “http://www.cnn.com” title=“Link to the CNN Web site”

>CNN</a>

With blank target:<a href=“http://www.cnn.com” target= “_blank”>CNN</a>

Page 8: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

1. Create a folder and name it camshots.2. Download all the files from the practice folder

in tutorial.02 and save them in the camshots folder.

3. Open contesttxt.htm and save it as contest.html.

4. In contest.html, mark the text BetterPhoto.com as an hypertext link pointing to the URL http://www.betterphoto.com.

5. Set the attribute of the link so that it opens in a new browser window or tab.

Page 9: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

What is an email link? Syntax:<a href=“mailto:address”>text</a> Example:

<a href=“mailto:[email protected]”>Collier</a>

Adding the email subject to email link:

<a href=“mailto:address?subject=your subject”>text</a>

Example:<a href=“mailto:[email protected]?subject=Project

%20Two”>Collier</a>

Page 10: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

1. In the aside element, mark the text Gerry Hayward as a hypertext link to an email address with [email protected] as the email address.

2. Add Photo Contest as the subject line within the email link.

Page 11: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

Link to another Web page within the same Web site “Independent” internal link Internal links (part of the navigational

bar) Internal links to a local file

Page 12: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

<a href =“photos.htm”>our photo gallery</a>

Page 13: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

1. Scroll down to the second article. Link the text Child Photos to the child.html file. Link Flower Photos to the flower.html file. Link Scenic Photos to the scenic.html file.

Page 14: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

Use of CSS to format the navigation bar Common use of internal links for the

navigation bar: The links are part of an unordered list inside the nav structural element.

Example:<nav><ul> <li><a href=“index.htm”>HOME</a></li> <li><a href=“about_us.htm>ABOUT US</a></li></ul></nav>

Page 15: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

1. Directly below the header element, create a navigation list containing an unordered list with the following list items as hyperlinks:a. Home linked to the index.html file

b. Tips linked to the tipweek.html file

c. Contest linked to the contest.html file

d. Glossary linked to the photogloss.html file

2. Copy the navigation bar and paste it on index.html, tipweek.html, and

photogloss.html.

Page 16: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

Links to non-HTML documents: Word documents, PDF documents, etc.

Examples on some existing Web sites.

Example:<a href=“docs/bylaws.pdf”>Company’s By-

Laws</a>

Page 17: Session 2.1. Learn about Web Design principles Draw a storyboard Create external links Create email links Create internal links

<a> tag

Possible attributes: href title target