Presentation is loading. Please wait.

Presentation is loading. Please wait.

XP New Perspectives on HTML and XHTML, Comprehensive 1 Developing a Basic Web Page Week 2.

Similar presentations


Presentation on theme: "XP New Perspectives on HTML and XHTML, Comprehensive 1 Developing a Basic Web Page Week 2."— Presentation transcript:

1 XP New Perspectives on HTML and XHTML, Comprehensive 1 Developing a Basic Web Page Week 2

2 XP New Perspectives on HTML and XHTML, Comprehensive 2 Objectives Create boldfaced and italicized text. Describe logical and physical elements. Define empty elements. Insert an inline image into a Web page. Insert a horizontal line into a Web page.

3 XP New Perspectives on HTML and XHTML, Comprehensive 3 Objectives Store meta information in a Web document. Display special characters and symbols. Web Site Design Basics

4 XP New Perspectives on HTML and XHTML, Comprehensive 4 Working with Inline Elements Character formatting elements are one of HTML’s set of inline elements. This element allows you to format text characters.  Strongly emphasized content (appears in bold) Welcome to our Chemistry Classes. HTML: Welcome to our Chemistry Classes. Check out page 32 for a list of inline elements

5 XP New Perspectives on HTML and XHTML, Comprehensive 5 Welcome to our Chemistry Classes. HTMLResult Welcome to our Chemistry Classes. * Notice the order in which the tags are closed!

6 XP New Perspectives on HTML and XHTML, Comprehensive 6 Understanding Logical and Physical Elements A logical element describes the nature of the enclosed content, but not necessarily how that content should appear. A physical element describes how content should appear, but doesn’t indicate the content’s nature. You should use a logical element that accurately describes the enclosed content whenever possible, and use physical elements only for general content.

7 XP New Perspectives on HTML and XHTML, Comprehensive 7 Working with Empty Elements To display a graphic, you insert an inline image into the page. An inline image displays a graphic image located in a separate file within the contents of a block-level element. You can insert a horizontal line by using the one-sided tag. With Styles A pixel is a dot on your computer screen that measures about 1/72” square.

8 XP New Perspectives on HTML and XHTML, Comprehensive 8 Working with Empty Elements Other empty elements you may wish to use in your Web page include line breaks and meta elements.  Meta elements are placed in the document’s head and contain information about the document that may be of use to programs that run on Web servers.

9 XP New Perspectives on HTML and XHTML, Comprehensive 9 Occasionally you will want to include special characters in your Web page that do not appear on your keyboard. HTML supports the use of character symbols that are identified by a code number or name. ₤ ® Working with Special Characters &code

10 XP New Perspectives on HTML and XHTML, Comprehensive 10 Working with Special Characters

11 XP New Perspectives on HTML and XHTML, Comprehensive 11 Summary: Tips for Good HTML Code Make sure that nested elements do not cross. Use styles in place of presentational elements whenever possible. Use logical elements to describe an element’s content. Use physical elements to describe the element’s appearance.

12 XP New Perspectives on HTML and XHTML, Comprehensive 12 Summary: Tips for Good HTML Code Include the alt attribute for any inline image to specify alternative text for non-graphical browsers. Know your market and the types of browsers that your audience will use to view your Web page. Test your Web page on all relevant browsers.

13 XP New Perspectives on HTML and XHTML, Comprehensive 13 Designing a Web Site The good news is that anyone can create a web page or web site. The bad news is that anyone can create a web page or web site.

14 XP New Perspectives on HTML and XHTML, Comprehensive 14 Steps to Designing 1.Define the site’s purpose What’s the message? What is the purpose? 2.Consider the audience Who’s the audience? 3.Gather ideas and information How should the site be organized? What is the content? 4.Determine navigation (more on this later) 5.Sketch Pages

15 XP New Perspectives on HTML and XHTML, Comprehensive 15 Design Principles Need to guide us throughout design process Need to avoid  Viewers have expectations

16 XP New Perspectives on HTML and XHTML, Comprehensive 16 What are these expectations? As Jakob Nielsen wrote back in November 1999, “If you are thinking about how to design a certain page element, all you have to do is to look at the twenty most-visited sites on the Internet and see how they do it.” This still applies today. “If 90% or more of the big sites do things in a single way, then this is the de-facto standard and you have to comply. Only deviate from a design standard if your alternative design has at least 100% higher measured usability.” Source: http://www.useit.com/alertbox/991114.html

17 XP New Perspectives on HTML and XHTML, Comprehensive 17 Getting Ideas Look to popular sites for inspiration Locating popular sites  http://www.clickz.com/stats/ http://www.clickz.com/stats/  Example: http://www.clickz.com/stats/markets/retailing/article.php/ 6061_3299531http://www.clickz.com/stats/markets/retailing/article.php/ 6061_3299531

18 XP New Perspectives on HTML and XHTML, Comprehensive 18 Fundamental Principles of Design Four principles to keep in mind:  Contrast Use changes in font, color, and shape to make things stand out  Proximity If objects on a page relate, put them close together  Alignment Align items on a page  Repetition Repeat visual elements throughout a site

19 XP New Perspectives on HTML and XHTML, Comprehensive 19 Contrast Elements are visually different from each other If two elements are not the same, make them very different

20 XP New Perspectives on HTML and XHTML, Comprehensive 20

21 XP New Perspectives on HTML and XHTML, Comprehensive 21 Repetition Certain elements should be repeated in multiple pages on a site These elements should be repeated throughout site to unify disparate parts

22 XP New Perspectives on HTML and XHTML, Comprehensive 22 Branding

23 XP New Perspectives on HTML and XHTML, Comprehensive 23

24 XP New Perspectives on HTML and XHTML, Comprehensive 24 Alignment Items on a page should be lined up with each other Goal is to choose alignment and use it throughout the site

25 XP New Perspectives on HTML and XHTML, Comprehensive 25

26 XP New Perspectives on HTML and XHTML, Comprehensive 26 Proximity Items that are close together appear to have a relationship Items that belong together should be grouped together

27 XP New Perspectives on HTML and XHTML, Comprehensive 27

28 XP New Perspectives on HTML and XHTML, Comprehensive 28 Design Principles at Work How Design Principles Improve Web Sites

29 XP New Perspectives on HTML and XHTML, Comprehensive 29 Before & After Alignment Contrast

30 XP New Perspectives on HTML and XHTML, Comprehensive 30 Before & After Contrast

31 XP New Perspectives on HTML and XHTML, Comprehensive 31 Before & After Proximity

32 XP New Perspectives on HTML and XHTML, Comprehensive 32 Good & Bad Repetition

33 XP New Perspectives on HTML and XHTML, Comprehensive 33 Design Principles Examples Repetition Before Repetition After Contrast Before Contrast After Picture Source: Allison McMorris - http://coe.sdsu.edu/eet/articles/designprin2/start.htm

34 XP New Perspectives on HTML and XHTML, Comprehensive 34 Design Principles Examples Alignment Before Alignment After Proximity Before Proximity After Picture Source: Allison McMorris - http://coe.sdsu.edu/eet/articles/designprin2/start.htm

35 XP New Perspectives on HTML and XHTML, Comprehensive 35 Beware of… Common mistakes  Jakob Nelson “King of usability” His Site: http://www.useit.com/alertbox http://www.useit.com/alertbox –The Ten Most Violated Homepage Design Guidelines –Top Ten Guidelines for Homepage Usability –Top Ten Web Design Mistakes “A wall of text is deadly for an interactive experience. Intimidating. Boring. Painful to read.” - Jakob Nielsen http://www.useit.com/alertbox/20021223.html

36 XP New Perspectives on HTML and XHTML, Comprehensive 36 Questions


Download ppt "XP New Perspectives on HTML and XHTML, Comprehensive 1 Developing a Basic Web Page Week 2."

Similar presentations


Ads by Google