Tables Feb. 14, 2012. Tables Great way to organize and display information Laid out in columns and rows Think of an excel spreadsheet Defined with tag.

Slides:



Advertisements
Similar presentations
1 © Netskills Quality Internet Training, University of Newcastle Introducing Cascading Style Sheets © Netskills, Quality Internet.
Advertisements

Table, List, Blocks, Inline Style
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
HTML popo.
Introduction to HTML & CSS
CSS-Formatting Review Cascading Style Sheets addstyle to your HTML web pages.
Intro To Cascading Style Sheets By Mario Yannakakis.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Cascading Style Sheets
Today CSS HTML A project.
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.
กระบวนวิชา 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.
16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
Beginning Web Site Creation: Dreamweaver CS4. XHTMLCSS  Describes the structure  Content  Collection of styles  Formatting body { background-color:
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
The Characteristics of CSS
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
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.
1 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles are normally stored in Style Sheets  Styles.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Css. Definition Cascading style sheet (CSS) Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
INTRODUCTION TO CSS. OBJECTIVES: D EFINE WHAT CSS IS. K NOW THE HISTORY OF CSS. K NOW THE REASON WHY CSS IS USED. CSS SYNTAX. CSS ID AND CLASS.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
CSS Basic (cascading style sheets)
 cascade Style Sheets (CSS) is a mark-up language that was first proposed in 1994 by Håkon Wium Lie. CSS works in conjunction with HTML to greatly increase.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
Essentials of HTML Class 4 Instructor: Jeanne Hart
Cascade Style Sheet Introduction. What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles were added.
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
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.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
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.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
1 © Netskills Quality Internet Training, University of Newcastle Using Style Sheets in Dreamweaver CS © Netskills, Quality Internet Training, University.
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
Introduction to CSS. Why CSS? CSS Provides Efficiency in Design and Updates CSS relatively easy to use Can give you more flexibility and control Faster.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
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.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
HTML LAYOUTS. CONTENTS Layouts Example Layout Using Element Example Using Table Example Output Summary Exercise.
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…
Cascading Style Sheets Using HTML. What are they? A set of style rules that tell the web browser how to present a web page or document. In earlier versions.
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.
CSS for Styling By Jinzhu Gao.
Getting Started with CSS
4.01 Cascading Style Sheets
>> Introduction to CSS
Styles with Cascading Style Sheets (CSS)
Madam Hazwani binti Rahmat
Intro to CSS CS 1150 Fall 2016.
Website Design 3
Cascading Style Sheets - Building a stylesheet
Intro to CSS CS 1150 Spring 2017.
Software Engineering for Internet Applications
What are Cascading Stylesheets (CSS)?
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Web Design & Development
Session 3: Basic CSS Spring 2009
Cascading Style Sheets - Building a stylesheet
4.01 Cascading Style Sheets
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Presentation transcript:

Tables Feb. 14, 2012

Tables Great way to organize and display information Laid out in columns and rows Think of an excel spreadsheet Defined with tag Divided into rows first using Then into columns using data cells

Tables data cells can contain: – Text – Images – Lists – Paragraphs – Forms – Horizontal rules – Tables – Etc.

Tables: 3 Things

Tables At Work – Cell one –

Tables At Work – Row 1 Cell 1 Row 1 Cell 2 – Row 2 Cell 1 Row 2 Cell 2 –

Tables At Work – Row 1 Cell 1 and 2 – Row 2 Cell 1 Row 2 Cell 2 –

Tables At Work – Row 1 and 2 Cell 1 Row 1 Cell 2 – Row 2 Cell 2 –

Table Examples Example 1 Example 2 Example 3

Cascading Style Sheets Feb. 14, 2012

Benefits of CSS More control over appearance. Smaller, faster-loading pages. Easier to update pages, entire sites.

Two types of style sheets* Internal or embedded style sheet – Exists in of page. – Applies only to a single page.

Two types of style sheets* External style sheet – Separate file that contains no HTML content. – Can use it for multiple pages.

Two types of style sheets* In-line styling – One instance of styling – Can use it for rare/one time use components. – Typically frowned upon, but can be rather useful when working with templates

Syntax A CSS rule has a selector and a declaration. Selector: the name you will use to call the style throughout the document. Declaration: the formatting that will be applied. p{color:red; text-align:center;} Selector Declaration

Three style types Class ID Tag

Class You manually attach it to text. To put company name in bold, red: – –.company – {color:red; font-weight:bold} – – Call my company, Johns Widgets, for all your needs.

ID A single, unique element on a page. Center copyright info at the bottom of the page. – – #copyright – {text-align: center;} – – Copyright John's Widgets 2011

Tag Applies to every tag of one type on the page. Make all H1 headings on the page maroon. – – h1 – {color: #903;} – – Why you should use my company

Three style types Can tell types apart in head section. – Class: selector preceded by period.company – ID: selector preceded by pound sign #copyright – Tag: nothing precedes it h1

Three style types In body, type of style is an attribute, selector is a value. –

Examples of style sheets Simple, hand-coded page and style sheet (external)pagestyle sheet Written by Dreamweaver page and style sheet (external)pagestyle sheet See the section of Ch. 1 tutorial from McFarland for internal example

DIVs will be covered next Tues.