Advanced Web pages and Cascading Style Sheets (CSS)

Slides:



Advertisements
Similar presentations
Introduction to HTML & CSS
Advertisements

Cascading Style Sheets
Cascading Style Sheets
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.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
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.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Tutorial 4: Creating page layout with css
HCI 201 Week 6 Client Side Image Maps Introduction to CSS.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Let me control over my pages: Tables, Frames, and CSS.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
4.01 Cascading Style Sheets
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Cascading Style Sheet Basics Pepper. Looking at the HTML See the surrounding tags See head, body, paragraph, header See the ending tags See the list.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
 ult.htm ult.htm  This website illustrates the use of CCS (style sheets)
Different ways to implement CSS. There are four different ways to use CSS in your web pages: – Inline CSS – Embedded CSS/Internal CSS – Linked CSS/External.
Cascading style sheets (CSS)
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Multimedia & The World Wide Web winny HCI 201 Multimedia and the www.
Chapter 7 Web Typography Principles of Web Design, 4 th Edition.
HTML Web Authoring Tonya L. DeZarn Janice Thompson Juana Wallace.
The Characteristics of CSS
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
INTRODUCTION TO HTML5 CSS Styles. Understanding Style Sheets  HTML5 enables you to define many different types of content on a web page, including headings,
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Cascading Style Sheets Tom Osman. Keep the content of a webpage separate from the formatting of the page. Structure (of content)  Headings  Sub headings.
Cascading Style Sheets CSS by Pavlovic Nenad by. 2Cascading Style Sheets Presentation Contents What are CSS? What are CSS? History of CSS History of CSS.
Working with Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 5.
Internet Web Publishing III. Intro to Cascading Style Sheets Patricia Roberts.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Tutorial 7.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
Cascading Style Sheets
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Cascading Style Sheets CSS. Source W3Schools
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Cascading Style Sheets Primary readings Presentations Explain & review projects with class mates.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
What is CSS? A set of style rules that tell the web browser how to present a web page or document. – In earlier versions of HTML, style characteristics,
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
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.
WEB FOUNDATIONS CSS Overview. Outline  What is CSS  What does it do  Where are styles stored  Why use them  What is the cascade effect  CSS Syntax.
Working with Cascading Style Sheets
4.01 Cascading Style Sheets
Web Development & Design Foundations with HTML5
IS 360 Declaring CSS Styles
Advanced Web pages and Cascading Style Sheets (CSS)
Website Design 3
Cascading Style Sheets
What are Cascading Stylesheets (CSS)?
Web Design and Development
4.01 Cascading Style Sheets
Presentation transcript:

Advanced Web pages and Cascading Style Sheets (CSS)

Information Design Arranging all the site elements together to build context and meaning. Page Elements Logo Courtesy Links Footer links Masthead Global Navigation Search Form Rotating image Features Local Navigation Wireframe

Visual Design The visual presentation of the information design. Design Elements Colour Texture Contrast Image Treatments Fonts Hierarchy Ornamental graphics Style Buttons Design Composite

Create a visual focus Make one element (picture) your focus and pull colors from it

Media Elements Use embed or object tags to add video and sound to your page

Script <object classid="clsid:02BF25D5-8C17-4B23-BC80- D3488ABDDC6B" codebase=" height="30" width="145"> <embed src="radioplaybyplay.mp3" type="video/quicktime" pluginspage=" autoplay="false" height="30" width="145">

Design for the Web7 Evolution of Web Design Since the beginning of the web designing for it has gone through four distinct trends: Early WebPresent Simple Sharing Used by academics and researchers for sharing information. Information (text) is presented in a structure defined by basic HTML (h1, h2, p, li, table, b). Example Graphic Design Graphic support and HTML extensions make advanced layouts possible. Designers begin to apply traditional design rules to web pages. Example Techno-Hype Many different HTML tags and client side technologies are implemented by IE and Netscape. Designer overindulge in using them. Example Usability A focus on site objectives and user needs gives the user experience high priority. Intelligent interface design using best practices. Example No Frills Publishing User Experience

Table layout The simple choice for layout

CSS layout The expert

CSS power

Design for the Web11 Creating Richer and More Maintainable Sites with CSS Makes page editing and updating easier Reduces messy HTML coding (faster downloads) Advanced controls for presentation look and layout Font size (unlimited) Float (text wrapping an image) Multiple web pages can be updated quickly from one external style sheet Increased accessibility by maximizing the number of viewers that can access your site regardless of the platform, browser, computer or user disabilities.

Basic CSS Syntax element declaration h1 { font: 30px Arial; color:#0000FF; } propertyvalue Welcome to my page CSS HTML Page

CSS and HTML tags CSS Allows you to redefine HTML elements like paragraph and header tags p { font: 14px Verdana; color:#999900; } h1 { font: 18px Verdana; color:#CC3300; } example text CSS HTML Page

CSS Classes You can create your own classes that are used in conjunction with HTML tags.coolfonz { font: 26px Arial; color:#9966FF; }.uncool { font: 8px Arial; color:#111111;} example text CSS HTML Page

CSS Location External Style Sheet Embedded Style Sheets Inline Styles Body Header Linked CSS File HTML File

Cascading Order 1.Inline Styles 2.Embedded Style Sheets 3.External Style Sheet 4.Browser default CSS File HTML File Body Header Linked

Order of Inheritance Nested tags inherit styles of their parent tags Not all properties will inherit Nested tags value override inherited style p { font: 14px Verdana; color:#999900; } b { font: 20px Arial; } example text CSS HTML Page

More information and utilities Tutorials Utilities HTML Tidy - CSS Validator - Sites CSS Zen Garden - Glish -

Acadia Template