Unit 3, Lesson 3 Typography. art and technique of arranging type on a page. font family, style, size, and weight (or thickness)

Slides:



Advertisements
Similar presentations
HIGH LEVEL OVERVIEW: CSS CSS SYNTAX CONSISTS OF A SET OF RULES THAT HAVE 3 PARTS: A SELECTOR, A PROPERTY, AND A VALUE. IT’S NOT NECESSARY TO REMEMBER THIS.
Advertisements

Cascading Style Sheets
CSS Digital Media: Communication and design 2007.
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
1 Pengantar Teknologi Internet W03: CSS Cascading Style Sheets.
Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Chapter 8 Creating Style Sheets.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Tutorial 2: Formatting Text. Objectives Session 2.1 – Learn the functions of the Common toolbar – Change the size of text – Discern which fonts to use.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Lecture Cascading Style Sheets (CSS) Internal Style Sheets Classes.
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
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.
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
Cascading style sheets (CSS)
Chapter 7 Web Typography Principles of Web Design, 4 th Edition.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
Six Principles of Good Design
Chapter 12 Cascading Style Sheets: Part II The Web Warrior Guide to Web Design Technologies.
IDs versus Classes Naming Your Tags for Maximum Functionality.
I NTRO TO CSS IAT100 Spring I NTRO TO CSS Covered in this lesson: Overview What is CSS? Why to use CSS? CSS for Skinning your Website Structure.
To Proudly supported by ferrycake.com. We will be printing Cash for your Community tokens every week in the Carmarthen Journal and Llanelli Star. The.
Introduction To CSS.. HTML Review What is HTML used for? Give some examples of formatting tags in HTML? HTML is the most widely used language on the Web.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. September 14, 2010—All HTML code brought to XHTML standards. Reference for CIS127 and.
Using Cascading Style Sheet As you create more web pages, you may wish to impose a consistent look for all of your web pages or for group of related pages.
Cascading Style Sheets Orientation Learning Web Design: Chapter 11.
Working with Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 5.
CO1552 – Web Application Development Cascading Style Sheets.
Tutorial 5 Formatting with CSS. Objectives Session 5.1 – Evaluate why CSS styles are used – Determine where to write styles – Create an element selector.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
CSS Basic (cascading style sheets)
Cascading Style Sheets (css) HTML and css 2012 Brian Davison.
Introduction to CSS. What is CSS?  Cascading Style Sheets  Used for styling HTML  Also important in javascript and jquery for selectors  External.
ALBERT WAVERING BOBBY SENG. Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements.
Cascade Style Sheet Introduction. What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles were added.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Tutorial 7.
CSS October 19. Review of CSS CSS was designed to separate the content of HTML pages from their appearance We are primarily dealing with external style.
Cascading Style Sheets Robin Burke ECT 270. Outline Midterm The Layout Debate CSS properties Fonts Alignment Color CSS selection selectors pseudo-classes.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
Microsoft Expression Web 3 – Illustrated Unit F: Enhancing a Design with CSS.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
Understanding ID and Class in CSS Web Design – Sec 4-9 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
Stylizing a Navigational Menu Web Design Section 6-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
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.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
CONFIGURING COLOR AND TEXT WITH CSS Chapter 3. Cascading Style Sheets (CSS) Used to configure text, color, and page layout. Launched in 1996 Developed.
CSS.
Cascading Style Sheets
Enhancing documents with appropriate typography choices
The Box Model in CSS Web Design – Sec 4-8
Understanding and Applying Typography in CSS
>> Introduction to CSS
Applying Typography in CSS
Using Cascading Style Sheets Module B: CSS Structure
Understanding and Applying Typography in CSS
The Box Model in CSS Web Design – Sec 4-8
IS333: MULTI-TIER APPLICATION DEVELOPMENT
The Internet 10/13/11 The Box Model
Training & Development
Session IV Chapter 15 - How Work with Fonts and Printing
Cascading Style Sheets
Presentation transcript:

Unit 3, Lesson 3 Typography

art and technique of arranging type on a page. font family, style, size, and weight (or thickness)

Serif Vs. Sans Serif Serif – small lines or strokes that extend from the ends of characters. – look like small feet, caps, tails, flags or dots. – been used for centuries in printed books, magazines and newspapers. Sans-serif – Do not have serifs ("sans" is French for "without"). – These fonts are simple and straightforward. When choosing a font – Choose one that is not too cluttered – Flows gracefully from letter to letter – Not too much space between letters Page titles, headings and sub-headings – a serif font is sometimes a better choice – because they can be perceived as more stately and grand, which helps to contribute to how readers perceive the hierarchy of the page. What about cursive, fantasy, and monospace?

Selecting A Font When choosing a font – Choose one that is not too cluttered – Flows gracefully from letter to letter – Not too much space between letters Page titles, headings and sub-headings – a serif font is sometimes a better choice – because they can be perceived as more stately and grand, which helps to contribute to how readers perceive the hierarchy of the page. What about cursive, fantasy, and monospace?

Unit 3, Module 5, Lesson 1 ID elements on your web page can be assigned a unique id attribute. can be any text you like, but it has to be unique (only one item can have this label). assign labels that describe the function of the element. For example, a that's used to markup a navigation menu might have id="navigation" or id="menu"

When to assign id? You want to stylize that element differently than other elements of the same type. You want to be able to link to a particular element within a web page. You already added id="main" to one of the div elements on your portfolio page when you created a "skip to main content" link in the lesson on Special Types of Links.Special Types of Links. You want to be able to directly access that element using Javascript. You'll learn more about that in the module on Javascript.the module on Javascript.

What is class? You are creating several movie reviews, in addition to other content. The entire content of each review (a heading with the movie title, plus several paragraphs) is wrapped in a in order to keep it all together in one box. You may want to stylize the elements that contain each review differently than other elements on the page, so reviews all have a distinct look, but consistent with one another. You could accomplish this by assigning class="review" to each individual review. You could accomplish this by assigning class="summary" to each summary paragraph.

Example Code The Godfather The Godfather (1972) is the greatest movie of all time, according to numerous surveys of movie critics and audiences alike. The Godfather is... (your review here) Avatar Avatar (2009) is the highest grossing film of all time, earning approximately $2.8 billion. Avatar is... (your review here)

Descendant Selectors A descendant is an element that is nested inside another element. In addition to assigning styles to a class of elements, you can also assign styles to descendants of those elements. a { color: red; text-decoration: underline; }

If you want different style for links that are part of your navigation menu.. Example-white text on a dark blue background, with no underline. Assuming these links are contained within a with id="navigation", you could stylize those using descendant selectors in CSS, like so:

ul#navigation a { color: white; background-color: #003399; /* dark blue */ text-decoration: none; }

What is ID & Class? The id selector – used to specify a style for a single, unique element – uses the id attribute of the HTML element – is defined with a "#” The style rule below will be applied to the element with id="para1": #para1 { text-align:center; color:red; }

What is Class? used to specify a style for a group of elements. Unlike the id selector, the class selector is most often used on several elements. can set a particular style for many HTML elements with the same class. The class selector uses the HTML class attribute, and is defined with a "." In the example below, all HTML elements with class="center" will be center-aligned:.center {text-align:center;}

Do you have the following? Module 5, Lesson 1 asked to check the following: – The first div is a container for the skip to main content link. – The second div is a container for your contact information. – The third div is a container for information about your course and school. –

Do you have the following? The fourth div is a container for the navigation menu The fifth div is a container for the main content of the page. It already has an id attribute from a previous lesson. –

Unit 3, Mod 5, Lesson 2 Control the width of the #skipnav div so that it's no wider than the content it contains (about 10em) Control the width of the.info class of div's so that both div's in this class have width:40%. Increase the font-size of the.info class so its text is larger and more prominent than other text on the page.

Continued… Change the style of the #overview paragraph so that it stands out, as an overview should. Change the style of the.temp class of paragraphs so that they are italicized (font- style:italic), but no other paragraphs on the page are.

Practice in your Style Sheet Change the color and background-color of the main div so it's different from the other divs. Make sure content inside this div have very good contrast between color and background-color. Add other styles as you see fit to each of these divs until you're satisfied with their appearance. Especially try using some of the styles that you learned in recent lessons about typography and the box model.