CSS The Definitive Guide Chapter 5.  You will understand why setting font properties will be among the most common uses of style sheets.  Font family.

Slides:



Advertisements
Similar presentations
The Key Element in Desktop Publishing Design
Advertisements

Measurement Many CSS properties (values within the declaration) require that you specify a unit of measurement, such as spacing between elements, border.
More Information on Graphic Design & Color: A few pointers for your websites & other e- publications Dr. Jennifer Bowie.
Week 7 Web Typography. 2 Understanding Type Design Principles.
Chapter Concepts Discuss Fonts Understand Fonts
1 CSS Styling with Fonts and Colors. 2 CSS Cascading Style Sheets and fonts CSS provides Style or Presentation options for our html pages CSS properties.
1 Formatting: Is What You See What You Get? Gylphs and Fonts Document-Wide Style Changes Formatting List Items Formatting Different Tags Simultaneously.
The Use of Typography in Print and Electronically. [typography] “exists to honour content” Robert Bringhurst, The Elements of Typographical Style.
Using Cascading Style Sheets CSS Structure. Goals Understand how contextual, class and ID selectors work Understand how contextual, class and ID selectors.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
Typography Web Design Professor Frank. Characteristics of Type on the Web Magazine/book typography – 1200 dpi Computer screens – 85 ppi (maximum)
1.01 Investigate typefaces and fonts.
1.01A – What typefaces should be used for various displays?????
3.1 Cascading Style Sheets. Motto Fashions fade, style is eternal. —Yves Saint Laurent.
1.01 Investigate typefaces and fonts.
Multimedia & Webpage Design
Formatting Text (Plus More Selectors) Learning Web Design: Chapter 12.
® Copyright 2008 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO TYPOGRAPHY DESIGN Vocabulary and Guidelines.
Typography and Space for Web Design Important Issues From Web Style Guide.
Web Design – Sec 4-6 and 4-7 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
1 Working with Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size,
Using Cascading Style Sheets. Introduction to Styles and Properties  Cascading Style Sheets (CSS) are a standard set by the World Wide Web Consortium.
10. Typography The basic terminology & concepts of working with type
Typography-- Using Text Typography -- Using Text There are two basic types of fonts: Sans Serif Serif.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 09: Cascade Style Sheets - Spring 2011.
Chapter 7 Web Typography Principles of Web Design, 4 th Edition.
Digital Interactive Media
Principles of Web Design 6 th Edition Chapter 5 – Web Typography.
Font Families by Anthony Asay. Font Family ●Font family or font face is the typeface that is applied to the text by a web browser. ●There are a lot of.
Typography.  Introduction to Typography  Font Collections ▪ Serif ▪ They have small strokes at the end of the character strokes ▪ Ex: Times New Roman,
Chapter 12 Cascading Style Sheets: Part II The Web Warrior Guide to Web Design Technologies.
Class three: CSS review, backgrounds, font formatting, the box model.
Tutorial 5 Formatting with CSS. Objectives Session 5.1 – Evaluate why CSS styles are used – Determine where to write styles – Create an element selector.
TEXT Size and typeface of text Bold, italics, capitals, underlines Spacing between lines, words, and letters.
Introduction to CSS CSS Fonts - Fort Collins, CO Copyright © XTR Systems, LLC Cascading Style Sheets - Font Control Instructor: Joseph DiVerdi, Ph.D.,
Text and Fonts in CSS. Customizing fonts In CSS, fonts are divided into “font families” Only certain fonts are commonly installed on most computers Therefore.
Typography (Fonts). Type type = any set of printed characters font = a set of printable or displayable characters with a specific style and size typeface.
Files you will need ... Black Goose Bistro Summer Menu
Fonts The following CSS properties will be described: 1.Font-family 2.Font-style 3.Font-variant 4.Font-weight 5.Font-size 6.Font.
Basics of Web Design Chapter 6 More CSS Basics Key Concepts.
TYPOGRAPHY 1.01 INVESTIGATE TYPEFACES AND FONTS..
Typography Graphic Design Fundamentals
Typography The Science of Text. Fonts Style of type How many fonts in a document? Conservative--one font Typical--two fonts Use a third for emphasis.
TYPOGRAPHY What is Typography?
Web Design (14) CSS Formatting Text. Formatting Text In Brackets, go to your ‘externalcss’ website and find the ‘formattingtext’ page. Use the ‘main’
CSS Fonts. The Font properties allow you to change the font family, boldness, size, and the style of a text.
Typography. The Target Audience Publications are created to convey a message to the intended audience, called the target audience. The target audience.
Class & ID Selectors, Font and List Properties. Id Selectors  # followed by Id-name (without space)  Can be used once on a page  Examples: #p1 { color:
CSCE Chapter 3 (Cascading Style Sheets) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department of Computer.
What are we interested in? 1. Understand Design 0 2. Digital Image design 3 3. Time-based media Webpage design 2 1.
Typography A Key Element in Design A. Definition of Typography Typography is the appearance and arrangement of the characters that make up text on a page.
Changing Font After the background, the font is one of the first things people sees.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
Formatting Text with HTML and CSS. Summary block-level elements. Character-level elements Logical and physical style Special elements: hr,address, quotation.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 10: Formatting Text with Styles.
Selecting a Typeface MKT 4123 Advertising.
CS3220 Web and Internet Programming CSS Basics
Understanding and Applying Typography in CSS
Introducing :CSS Cascading Style Sheets in 5 Lessons.
Applying Typography in CSS
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Typography Basics 2.01 Investigate typefaces and fonts.
Understanding and Applying Typography in CSS
1.01 Investigate typefaces and fonts.
The Art of Type 9/17/2018.
CS3220 Web and Internet Programming CSS Basics
Chapter 7 Web Typography
CS3220 Web and Internet Programming CSS Basics
Session IV Chapter 15 - How Work with Fonts and Printing
Cascading Style Sheets
Presentation transcript:

CSS The Definitive Guide Chapter 5

 You will understand why setting font properties will be among the most common uses of style sheets.  Font family differences  Using the 5 generic font families  Understand font-weights  Understand font-size  Styles and Variants  The difference between italic and oblique  Font variations  Small-caps  Adding style and interest to your text through the use of attributes

 Times ◦ There are many variants of Times such as, TimesRegular, TimesBold, TimesItalic, TimesOblique or TimesBoldItalic and more.  Verdana  Helvetica  Arial

 Serif fonts ~ are proportional and have serifs. A font is proportional if all characters in the font have different widths due to their various sizes. Serifs are the decorations on the ends of strokes within each character. EX: Times Georgia New Century Schoolbook

 While serif fonts are hard to read online, they are perfect for print. If you have print friendly versions of your site, this is the perfect place to use serif fonts. The serifs, in print, make it easier to read, as they allow people to differentiate the letters more clearly. And because print has a higher resolution, they can be seen more clearly and don't appear to blur together.

Always use serif fonts for your print-friendly pages.

 Sans-serif fonts ~ These fonts are proportional and do not have serifs.  Web pages are intended to be viewed by Web browsers on computer monitors. And computer monitors don't have as good of resolution as paper. This means that when your readers view a page of serif font on the screen, the little serifs all blur together and start making the text harder to read.

Always use sans-serif fonts for your Web page main copy Ex: Tahoma Geneva Verdana Helvetica Arial

 One new typeface in particular - Verdana - was released in It is a sans serif font with a “humanistic quality” and looks good on both PCs and Macs. Because of this, it is one of the most popular, widely-used fonts on the web. (Note: You are currently reading text in Verdana.)

 Monospace fonts ~ Are not proportional. These emulate type-written text, the output from an old dot-matrix printer. All characters are the exact same width. So i would be the same with as m. May or may not have serifs.  If a font has uniform character widths, it is classified as monospace, regardless of the presence of serifs.  EX: Bookman Old Style Courier New Consolas Generic Font families

 Cursive fonts ~ These fonts attempt human handwriting. Usually they are composed of largely of cursves and have stroke decorations that exceed those found in serif fonts.  EX: Edwardian Script ITC Freestyle Script Brush Script MT

 Fantasy Fonts ~ These are not really defined by any single characteristic other than our inability to easily classify them in on of the other familes.  EX: Western Woodblock Klingon

Use fantasy and cursive fonts in images and as headlines or call-outs. Keep them short and be aware that whatever font you choose will probably not be on a majority of your readers' computers

 If you want a document to use a sans-serif font, but you do not care which one, then the appropriate declaration would be this: Body {font-family: sans-serif;} Using the above would cause the user agent to pick a sans-serif font family and apply it to the body element.

h1 {font-family: Georgia;} This will cause the user agent to display h1s using Georgia. Assuming that the user agent has Georgia available for use. If it doesn’t the user agent will use it’s default font to display the h1s.

P {font-family: Times, TimesNR, ‘New Century Schoolbook’, Georgia, ‘New York’, serif;} Based on the above list the user agent will look for the fonts in the order they’re listed. If none are available then it will simply pick a serif font that is available. Single Quotation marks-Used in a font-family declaration only if the font name has one or more spaces. Or if the font name includes symbols such as # or $.

 Values: normal bold bolder lighter Keywords = 9 levels of weight

 Has relative-size keywords called larger and smaller.  Values: xx-small x-small small medium large x-large xx-large smaller

 Font-style is used to select normal text, italic text and oblique text.  Default value of font-style = normal  The only complication is recognizing the difference between italic and oblique. The Oblique Style uses the same font as Normal (non-italic version of the font- type / font-face) but skews (slants) it to the right a-little before presenting it to the screen – it looks less readable than the true Italic version. While the Italic Style uses a Italic type/version of the font, most of the time almost all fonts have a Italic version of the font which has special characters defined for it. But that is not Always the case, some times the Font Designer doesn’t provide those and only provides the Normal version of the font.

font-type (font-face) that doesn’t have its own true Italic version of the font, it will automatically use the Oblique version which just uses the regular version of the font but skews / slants it a-little to the right so it appear as if it were the Italic version. It would be called more like a fake Italic.

 Has two non-inherit values: 1)The default of normal ~ describes ordinary text 2)Small-caps

 Use small caps for acronyms. Set acronyms such as NASA or NASDAQ in small caps when they appear in body text or headlines.  Use small caps for common abbreviations. Set common abbreviations such as AM or PM in small caps so they don't overpower the accompanying text.  Use small caps for headlines. For an elegant and more readable look than all caps, set headlines or short phrases in small caps.

 Because of the many properties a font can have there is a shorthand property for all of the font properties. h1 {font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 30px; font-weight: 900; font-style: italic; font-variant: small- caps;} Could be written as (Shorthand): h1 {font: italic 900 small-caps 30px Verdana, Helvetica, Arial, sans-serif;}

 Add style and interest to your text through the use of “attributes.”  These stylistic elements introduce variety and help you better convey your message.  The most common font attributes are plain, bold, italic, underline, CAPITALS and color.font

 When used, these elements become part of your site’s overall design.  If used sparingly, they can be effective.  When overused, your page can look cluttered and unprofessional.unprofessional

 Be consistent when applying attributes and remember that “less is more.”  While fonts may not seem as important a design element as color and graphics, thoughtful consideration should go into your selections.  The fonts will convey important information about your company, products and services.  They will help visitors navigate your site and interact with you.

 Most important, the right fonts will contribute to your site’s overall mood and visitor experience.  If it’s positive and easy on the eye, you know you’ve made the right choices.

 Working with Fonts:  Create CSS styles for your on going web site using fonts and some of it attributes.  Start to create a look and feel/mood of your site by incorporating the use of fonts and their attributes.  Please to where you have added additional fonts with different attributes on your site using CSS styles.  Also describe why you choose these font styles and what mood you are trying to create for your site.