Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

Designing Web Pages Tables part one. Using Tables for Page Layout 2.
Tutorial 5 Working with Web Tables
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Internet Basics & Way Beyond!
Working with Web Tables
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
New Perspectives on Creating Web Pages with HTML
Tutorial 4: Designing a Web Page with Tables
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 4: Designing a Web Page with Tables.
XP 1 Designing a Web Page with Tables Tutorial 4 Creating a News Page.
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.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
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.
CIS 1310 – HTML & CSS 8 Tables. CIS 1310 – HTML & CSS Learning Outcomes  Create a Table  Apply Attributes to Format Tables  Increase the Accessibility.
XHTML Tables. Tables: Allow us to display information on the page in a uniform fashion. Work well for organizing groups of words, images, and links. Are.
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.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
XHTML Tables. Tables create little boxes in which you can place things to keep them organized. The little boxes are called table cells. Tables are created.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
INTRODUCTORY Tutorial 7 Creating Tables. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Discern the difference between data tables and.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
Principles of Web Design 6 th Edition Chapter 10 – Data Tables.
Tables Learning Web Design: Chapter 8. Overview of Tables Uses for tables How to create a table Using CSS to style a table Nested tables Advanced table.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
10/4/2015Tables1 Spring, 2008 Modified by Linda Kenney 4/2/08.
CNIT 132 – Week 7 HTML - Tables. Tables on the World Wide Web A table can be displayed on a Web page either in a text or graphical format. A text table:
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.
Tutorial 5 Working with Tables and Columns
Tutorial 5 Working with Tables and Columns
XP Creating Web Pages with HTML, 3e Prepared by: C. Hueckstaedt, Tutorial 4 1 New Perspectives on Creating Web Pages with HTML Tutorial 4: Designing a.
Html Tables Basic Table Markup. How Tables are Used For Data Display Tables were originally designed to display and organize tabular data (charts, statistics,
HTML: Tables & Frames Internet Technology.
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
Tutorial 5: Tables Session OBJECTIVES Marking row groups Marking column groups Setting the table frame Specifying the table’s internal gridlines.
Week 5 Working with Tables. 2 Understanding Table Basics.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
Unit 4 Create and Use Tables. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Reasons for using tables Unit 4 Page 1 Display.
Chapter 5 Working with Tables Principles of Web Design, 4 th Edition.
Working with Web Tables Maureen Smith Professor, Saddleback College Tutorial 5.
Web111a_chapt04.ppt HTM: Section 4 Tables Table Types Text table elements Easy to use Use fixed-font text (font family monospace) Andale Mono Courier Monaco.
Tutorial 5: Tables Session OBJECTIVES Create a table Insert a table summary Insert a table caption Add rows and cells Merge Cells inside a Table.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: HTML Tables.
TABLES. Session Checklist ► Learn the ways that tables can help you organize data on your Web site ► Learn how to prepare a spreadsheet-like table that.
Laying out Elements with CSS
Tutorial 5 Working with Web Tables
Designing a Web Page with Tables
Working with Tables: Module A: Table Basics
Positioning Objects with CSS and Tables
Tables and Frames.
LAB Work 02 MBA 61062: E-Commerce
Tutorial 5 Working with Tables and Columns
Tutorial 5 Working with Web Tables
Tables:.
Using HTML Tables SWBAT: - create tables using HTML
Site Development Foundations Lesson 6
Principles of Web Design 5th Edition
Lesson 5: HTML Tables.
Positioning Objects with CSS and Tables
Presentation transcript:

Tutorial 5 Working with Web Tables

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of a Web table Create headings and cells in a table Create cells that span multiple rows and columns Create row and column groups Add a caption and a summary to a table Format a table using HTML attributes and CSS styles Collapse table borders Display page elements in tabular form Create a jigsaw layout Explore the use of tables for page layout Create rounded borders New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 3 Introducing Web Tables Each table in a Web page follows a basic structure consisting of the table element and a collection of table rows nested in the table element table cells table cells... New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 4 Introducing Web Tables Table headings, the cells that identify the contents of a row or column, are marked using a tag Data cells are marked with the tag and are used for any content that is not considered a heading New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 5 Introducing Web Tables To add a border to a Web table using HTML, use the border attribute... where value is the size of the border in pixels New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 6 Spanning Rows and Columns A spanning cell is a single cell that occupies more than one row or one column in the table To create a table cell that spans several columns, add the attribute colspan="value" to the cell, where value is the number of columns covered by the cell To create a table cell that spans several rows, add the attribute rowspan="value" to the cell, where value is the number of rows covered by the cell New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 7 Creating a Table Caption To create a table caption, add the caption element directly below the opening tag with the syntax content where content is the content of the table caption New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 8 Marking Row Groups You can divide a table’s rows into row groups, in which each group element contains different types of content and can be formatted differently A table can have multiple table body row groups New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 9 Marking Column Groups Once the table columns have been determined by the browser, you can reference them through the use of column groups New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 10 Adding a Table Summary The summary attribute allows you to include a more detailed description about the table... New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 11 Formatting Tables with HTML Attributes The amount of space between table cells is known as the cell spacing The cell padding is the space between the cell contents and the cell border New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 12 Formatting Tables with HTML Attributes To define the padding within table cells, add the attribute... to the table element, where value is the size of the padding space in pixels To define the space between table cells, add the attribute... to the table element, where value is the space between table cells in pixels New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 13 Formatting Tables with HTML Attributes To set the width of the table to a specific value, add the width attribute... Many browsers also support the height attribute... You can use HTML to set the row heights by applying the height attribute... New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 14 Formatting Tables with HTML Attributes A table frame specifies which sides of the table (or which sides of the table cells) will have borders... New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 15 Formatting Tables with HTML Attributes A table rule specifies how the internal gridlines are drawn within the table... New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 16 Formatting Tables with HTML Attributes By default, browsers horizontally center the contents of table header cells and left-align the contents of table data cells –To control the horizontal alignment align="position“ – To control the vertical alignment valign="position" New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 17 Formatting Tables with CSS Starting with CSS2, Cascading Style Sheets included support for Web tables You can apply one set of borders to the Web table itself and another set of borders to the individual cells within the table New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 18 Formatting Tables with CSS To define the border model used by the table, apply the table style border-collapse: type where type is separate (the default) to keep all borders around cells and the table itself, separate, or collapse to merge all adjacent borders To set the space between separated borders, apply the table style border-spacing: value where value is the space between the borders in any of the CSS units of measure New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 19 Formatting Tables with CSS The most general styles are those applied to the entire table New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 20 Formatting Tables with CSS To position a table caption, apply the style caption-side: position where position is top or bottom New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 21 Applying Table Styles to Other Page Elements New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 22 Using Tables for Page Layout New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 23 Using Tables for Page Layout The jigsaw layout involves breaking up the page content into separate table cells that are then joined together like pieces in a jigsaw puzzle New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 24 Using Tables for Page Layout New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 25 Exploring the Controversy over Table Layouts Table layouts are not in the spirit of HTML Table layouts are difficult to revise Tables take longer to render Tables can be code-heavy Tables can be inaccessible to users with disabilities New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 26 Creating a Rounded Box Using div Containers New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 27 Creating a Rounded Box Using div Containers content New Perspectives on HTML and XHTML, Comprehensive

New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 28 Creating a Rounded Box Using div Containers New Perspectives on HTML and XHTML, Comprehensive