Copyright © 2003 Pearson Education, Inc. Slide 5-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Introduction to XHTML Programming the World Wide Web Fourth edition.
Advertisements

Copyright © 2003 Pearson Education, Inc. Slide 6-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Copyright © 2003 Pearson Education, Inc. Slide 7-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
Copyright © 2003 Pearson Education, Inc. Slide 8-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Copyright © 2003 Pearson Education, Inc. Slide 7-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
UNITED NATIONS Shipment Details Report – January 2006.
Tutorial 3 – Creating a Multiple-Page Report
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
© 2010 Delmar, Cengage Learning Chapter 5 Positioning Objects with CSS and Tables.
Use Tables for Layout Control Day 7. You will learn to: Understand Tables Create a Simple Table Modify Your Tables Appearance Create Page Layouts with.
XP Tutorial 4New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Designing a Web Page with Tables Tutorial 4 Creating a News Page.
Introduction to HTML Part 2
1 Tables and Lists. 2 Are Tables still needed? Tables were once used to help structure and style our pages CSS now replaces most of the old uses for tables.
Svetlin Nakov Telerik Corporation
Creating Tables in a Web Site
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
Working with Web Tables
VOORBLAD.
Benchmark Series Microsoft Excel 2013 Level 2
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Chapter 5 Microsoft Excel 2007 Window
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
INTRODUCTORY MICROSOFT WORD Lesson 7 – Working With Documents
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
Benchmark Series Microsoft Excel 2010 Level 1
Analyzing Genes and Genomes
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Intracellular Compartments and Transport
PSSA Preparation.
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Essential Cell Biology
Chapter 13 Web Page Design Studio
Energy Generation in Mitochondria and Chlorplasts
How to create Magic Squares
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
Cos 125 Day 22. Agenda Assignment 6 Not corrected Waiting for tune-ins Assignment 7 is posted Assignment 7 Due April 2PM Left to do 1 Assignments.
© 2004, Robert K. Moniot Chapters 4 & 5 Introduction to HTML, More Details.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
Creating a Web Page with Tables. Objectives Create a text table with preformatted text Create the basic structure of a graphical table Organize table.
Introducing Web Tables
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
Using HTML Tables.
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
HTML Essentials Tables and Table Tags. Overview Use of Tables goes beyond tabulating data Frequently used to format Web pages / control layout Especially.
Chapter 5 Working with Tables. Agenda Add a Table Assign a Table Border Adjust Cell Padding and Spacing Adjust Cell Width and Height Add Column Labels.
XP 1 Tutorial 4 Designing a Web Page with Tables.
XHTML1 Tables N100 Creating a Simple Web Page. XHTML2 Creating Basic Tables Tables are collections of rows and columns that you use to organize and display.
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 5: Working with Tables.
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
Working with Tables: Module A: Table Basics
Presentation transcript:

Copyright © 2003 Pearson Education, Inc. Slide 5-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes

Copyright © 2003 Pearson Education, Inc. Slide 5-2 CHAPTER 5 XHTML Tables

Copyright © 2003 Pearson Education, Inc. Slide 5-3 Overview of Tables XHTML tables are sets of elements used to format content, or even an entire document, into rows and columns Tables can contain any type of content, including text, links, images, and multimedia Tables in XHTML work much the way they do in a spreadsheet or word processing application and resemble a grid Tables can be used to format blocks of content or they can also be used to providing formatting for an entire document

Copyright © 2003 Pearson Education, Inc. Slide 5-4 Table Elements - Encloses the rest of the table elements - Optional element. Used to describe the data in the table. - Table Row – Used to designate the beginning and ending of a row of data - Table Heading – Used to label the heading cells in a table row - Table Data – Used to label data cells in a table row Table section labels – These elements are optional in a table but when used they must appear in the following order: - Used to label the header section of a table. The contents are displayed at the top of the table - Used to label the footer section of a table. The contents are displayed at the bottom of the table - Used to label the body section of a table

Copyright © 2003 Pearson Education, Inc. Slide 5-5 Simple Table Example- XHTML Code Table Example in XHTML Our First Table A Simple Table of Columns and Rows Column 1 15 Column 2 16 Column Column 1 Row 2 22 Column 2 Row 2 23 Column 3 Row Column 1 Row 3 29 Column 2 Row 3 30 Column 3 Row

Copyright © 2003 Pearson Education, Inc. Slide 5-6 Simple Table Example – Web Browser

Copyright © 2003 Pearson Education, Inc. Slide 5-7 Element Attributes NameDescription and Values summaryText description of the table. Useful for nonvisual browsers. widthSets the width of the table. Values: Percentage or pixels borderSets the width of the border around the table. Values: A value of 0 makes the border invisible. An integer value greater than 0 will result in a border of that number of pixels. cellpaddingSets the amount of space between the border of the table cell and the data contained in the cell. Values: Percentage or pixels cellspacingSets the amount of space between cells. Values: Percentage or pixels frameDefines which sides of the table will be displayed. Values: above, below, border, box, lhs, bsides, rhs, vsides, void rulesDefines which rule lines will be displayed. Values: all, cols, groups, none, rows

Copyright © 2003 Pearson Education, Inc. Slide 5-8 and Element Attributes NameDescription and Values alignHorizontal alignment of data in a cell Values: left, center, right, justified valignVertical alignment of data in a cell Values: top, middle, bottom rowspanNumber of rows a cell span Values: integer greater than 1 and less than or equal to the total number of rows in the table colspanNumber of columns a cell span Values: integer greater than 1 and less than or equal to the total number of columns in the table abbrUsed for an abbreviated version of the content of the cell axisUsed to assign a cell to a category group headersList of cells that provide header information for the current cell based on the values of the id attributes of the header cells. This list is space delimited. scopeProvides information about which cells the current header cell provides header information for Values: col, colspan, row, rowspan

Copyright © 2003 Pearson Education, Inc. Slide 5-9 Element Attributes NameDescription and Values alignHorizontal alignment of data in all cells in a row Values: left, center, right, justified valignVertical alignment of data in all cells in a row Values: top, middle, bottom

Copyright © 2003 Pearson Education, Inc. Slide 5-10 More About Tables Spanning several rows or columns Tables can be used to format content by creating content than span several rows and/or columns Use the colspan and rowspan attributes for the and elements Nested tables – A nested table is a table that is completely contained within the cell of another table All of the elements of a nested table, including and, are contained within a single cell Nesting tables can provide the ability to create complex layouts, but they also add a level of complexity to the XHTML code which can make the document download slower over a slow internet connection

Copyright © 2003 Pearson Education, Inc. Slide 5-11 Complex Table Example Outer table is Gray Nested tables are Pink