Lesson 5 Introduction to Cascading Style Sheets

Similar documents
GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

DAY 4. Coding External Style Sheets

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

Criterion D: Product design

Styles, Style Sheets, the Box Model and Liquid Layout

Introduction. Formatting cells. Google Sheets. Formatting Cells

CSS MOCK TEST CSS MOCK TEST III

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

How to lay out a web page with CSS

Assignments (4) Assessment as per Schedule (2)

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

Hands On: Dreamweaver CS3 NEW SPRY Widgets

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

How to lay out a web page with CSS

Designing for Web Using Markup Language and Style Sheets

HTMLnotesS15.notebook. January 25, 2015

Links Menu (Blogroll) Contents: Links Widget

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar. Hover Effect:

Introduction to WEB PROGRAMMING

Page Layout Using Tables

Create a Web Page with Spry Navigation Bar. March 30, 2010

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

Head First HTML 5 Programming: Chapter 3: Events, Handlers, and all that Jazz.

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

MTA EXAM HTML5 Application Development Fundamentals


BA. (Hons) Graphics Design

Web Site Development with HTML/JavaScrip

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

Basic CSS Lecture 17

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

1. Cascading Style Sheet and JavaScript

CS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!

Criterion D: Product design Overall structure. Navigation. General outline

Introduction to using HTML to design webpages

Web Design, 5 th Edition

ICT IGCSE Practical Revision Presentation Web Authoring

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

INTRODUCTION TO HTML5! CSS Styles!

ADOBE 9A Adobe Dreamweaver CS4 ACE.

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

Office Administrator

CS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013

Dreamweaver Basics Outline

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

Using Dreamweaver CS6

Dreamweaver CS5 Lab 4: Sprys

UNIT 2. Creating Web Pages with Links, Images, and Formatted Text

COMSC-031 Web Site Development- Part 2. Part-Time Instructor: Joenil Mistal

Designing the Home Page and Creating Additional Pages

HTML5 and CSS3 for Web Designers & Developers

Getting Started with Eric Meyer's CSS Sculptor 1.0

AIM. 10 September

The Text Editor appears in many locations throughout Blackboard Learn and is used to format text. For example, you can use it to:

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU

Dreamweaver CS4. Introduction. References :

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets

User Interfaces for Web Sites and Mobile Devices. System and Networks

Objective % Select and utilize tools to design and develop websites.

In the early days of the Web, designers just had the original 91 HTML tags to work with.

Start by launching Mozilla To start making a web page, go to File -> New -> Composer Page

Mark Scheme. Edexcel Level 2 Certificate in Digital Applications. Unit 5: Coding for the Web

Cascading Style Sheets Level 2

FrontPage 2000 Tutorial -- Advanced

RAVASMARTSOLUTIONS - TECH TIPS

IBM Forms V8.0 Custom Themes IBM Corporation

Teach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3

Understanding the Web Design Environment. Principles of Web Design, Third Edition

Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 3 Introduction to CSS

Overview of the Adobe Dreamweaver CS5 workspace

Creating a Website with Dreamweaver 4

COMS 359: Interactive Media

CSS Selectors. Web Authoring and Design. Benjamin Kenwright

Full file at DW Chapter 2: Developing a Web Page

NAVIGATION INSTRUCTIONS

Chapter 7 BMIS335 Web Design & Development

Style Sheet Reference Guide

Zen Garden. CSS Zen Garden

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

CIW: Site Development Associate. Course Outline. CIW: Site Development Associate. ( Add-On ) 26 Aug 2018

Tutorial 4. Activities. Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web

Guidelines for doing the short exercises

Dear Candidate, Thank you, Adobe Education

The content editor has two view modes: simple mode and advanced mode. Change the view in the upper-right corner of the content editor.

Mark Scheme. June Pearson Level 2 Certificate in Digital Applications. Unit 5: Coding for the Web

Block & Inline Elements

the missing manual0 O'REILLY Third Edition David Sawyer McFarland Beijing Cambridge The book that should have been in the box Farnham

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Website Design (Weekday) By Alabian Solutions Ltd , 2016

How to create and edit a CSS rule

Creating a Web Presentation

Style Sheet Reference Guide

Adobe Dreamweaver CS6 Digital Classroom

CSS worksheet. JMC 105 Drake University

Cascading style sheets, HTML, DOM and Javascript

Three Ways to Use CSS:

Transcription:

Introduction to Cascading Style Sheets HTML and JavaScript BASICS, 4 th Edition 1

Objectives Create a Cascading Style Sheet. Control hyperlink behavior with CSS. Create style classes. Share style classes among Web pages. Control HTML table appearance with CSS. 2

Vocabulary active cascading style Cascading Style Sheet.css CSS files hover look and feel normal style style class style sheets visited 3

Introduction A style is simply a collection of one or more attributes that are applied to the visual components of a Web page. A cascading style is a collection of one or more attributes that can be specified once within the header of a Web page and then applied to many instances of a particular tag. 4

Creating Cascading Style Sheets 5 A Cascading Style Sheet is a collection of one or more cascading style codes that has been extracted from the header of a Web page and stored in a separate file in a specific (CSS) format. CSS makes it possible to customize the appearance and behavior of the Web site simply by changing the values in the style sheets.

Creating Cascading Style Sheets (continued) By convention, Cascading Style Sheet files are always given a.css extension. 6 Web page using a Cascading Style Sheet

Exploring Hyperlink Styles There are four possible states of a link. The normal state of a hyperlink is the way it appears when the mouse pointer is not over it and it has never been clicked. The hover state defines the link s appearance when the mouse pointer is over it but has not yet been clicked. 7

Exploring Hyperlink Styles (continued) A link s active state is when it has the focus on a Web page and pressing the mouse button gives it focus. The visited state specifies a link s appearance after it has been clicked at least once. 8

Exploring Hyperlink Styles (continued) By default, many popular browsers display text hyperlinks in an underlined, blue font. Navigation bar with hover, active, and visited links 9

Working with Style Classes CSS technology allows you to define style classes that can be applied to certain tags without affecting other tags of the same type. A style class is a named group of attributes that are defined in a Cascading Style Sheet and that can be applied to specified tags within an HTML document. 10

Sharing Style Classes All that is required for two or more Web pages to share a style class is for these Web pages to link in the style sheet in which the style class is defined. Although not a requirement, this is often done when the Web pages sharing the class are all displayed in a common frameset. 11

Exploring Table Styles 12 Tables support a variety of attributes that are used to define column widths, border thickness and style and other table features. HTML table using style classes

Exploring Table Styles (continued) Because it is common for Web designers to want different tables on their Web pages to have different attributes, this is a perfect opportunity to make use of style classes. 13

Summary In this lesson, you learned: How to create a Cascading Style Sheet. How to control hyperlink behavior with CSS. How to create style classes. How to share style classes among Web pages. How to control HTML table appearance with CSS. 14