Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
Chapter 4 – Intermediate HTML 4 Outline 4.1 Unordered Lists 4.2 Nested and Ordered Lists 4.3 Basic HTML Tables 4.4 Intermediate HTML Tables and Formatting.
Tutorial 4: Designing a Web Page with Tables
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 4: Tables and Frames.
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.
XP 1 Designing a Web Page with Tables Tutorial 4 Creating a News Page.
Cos 125 Day 24. Agenda All students meeting 7 Pm Monday, April 19 UMS Strategic Plan Assignment #7 Posted Due April 20 Two (one?) more to go Quiz Four.
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.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Using HTML Tables.
1 Tables: Data in Rows and Columns – What is Table? – How Tables are Used? – Designing Tables – Table, Cell, Row Attributes – Using Tables for Alignment.
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
HTML Essentials Tables and Table Tags. Overview Use of Tables goes beyond tabulating data Frequently used to format Web pages / control layout Especially.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
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.
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.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
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.
Chapter 9 Table Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Tutorial 5 Working with Tables and Columns
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
1 Week Four– Advance HTML 2 Dr. Fadi Safieddine. 2 Lecture Content Basic HTML Tables Using based Feedback form Creating and Using Image Maps Nested.
ECA 228 Internet/Intranet Design I Tables. ECA 228 Internet/Intranet Design I Basic HTML Tables Created as a way to present rows and clumns of data.
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.
Lesson 7. Tables Table Tags and Attributes Tables HTML tables are used in two main ways: 1.To organize tabular data in a familiar spreadsheet-like way.
 2003 Prentice Hall, Inc. All rights reserved. Introduction to HTML: Tables Outline 1 Introduction 2 Basic HTML Tables 3 Intermediate HTML Tables and.
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.
HTML Tables The HTML table model allows authors to arrange data - text, preformatted text, images, links, forms, form fields, other tables, etc. - into.
Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera.
Introduction to Web Site Development John Hurley Department of Computer Science California State University, Los Angeles Lecture 4: Favicons Tables and.
COS 125 DAY 15. Agenda  Assignment 6 Not corrected yet  Web Server login issues  Assignment 7 Posted Due March 9:35 AM  Quiz 2 will be on March.
COS 125 DAY 14. Agenda  Assignment 6 DUE  Assignment 7 Posted Due March 9:35 AM  Quiz 2 will be on March 30 Chapters M/C and 4 Short.
LINKING WEBPAGES USING HTML HYPERLINKS. Hyperlinks are text strings or images on a webpage which when clicked on, links to another section in the same.
Chapter 9 Table Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Tables creating a table within a web page. What makes up a table? Columns Rows.
Advanced Tables. Let's build some tables using each of these features and then try combining both features into the same table. Spanning Rows and Columns.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
Designing a Web Page with Tables
Organizing Content with Lists and Tables
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
Working with Tables: Module A: Table Basics
>> HTML: Tables.
Web Development & Design Foundations with HTML5 8th Edition
HTML Tables.
Tutorial 5 Working with Tables and Columns
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Chapter 7 Tables.
New Perspectives on Creating Web Pages with HTML
Табеле Табеле се представљају елементом TABLE.
HTML and CSS 8th Edition Chapter 18: Tables.
Using HTML Tables SWBAT: - create tables using HTML
Implementing Tables to Hold Data in HTML
Introduction to HTML.
Principles of Web Design 5th Edition
Hypertext Markup Language Table 11th Lecture
Basics of Web Design Chapter 9 Table Basics Key Concepts
Presentation transcript:

Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera

What This Lecture Covers In this third lecture on HTML Tables I will introduce the Summary feature for Tables. Use a Table Summary for Accessibility purposes. Introduce the thead, tfoot, and tbody, of a Table. Show examples of the thead, tfoot, and tbody. Designing with Table Frames and Table Rules. Using Rules in Web Tables by Professor Al Fichera 2

HTML 4.0 Table Summary With simple tables, a good Caption is usually a sufficient summary, but complex tables may benefit from a more detailed overview via the summary attribute. Adding a summary to your Table will be the first step in making your Table Accessible to all. If you are only using a Table to layout your Web page, the summary tag could state this up front to not confuse people having the page read to them. Using Rules in Web Tables by Professor Al Fichera 3

HTML 4.0 Table Summary Use the Table optional summary attribute to describe the purpose and/or structure of the table. The overview provided by the summary attribute is particularly helpful to users of non-visual browsers. Using Rules in Web Tables by Professor Al Fichera 4

HTML 4.0 Table Summary Note that the summary could also be included in a paragraph before the table, which could be helpful if you run into a browser that doesn't support summary. Using Rules in Web Tables by Professor Al Fichera 5

HTML 4.0 Table Elements If desired a table can contain three parts: A header (declared with the thead element) A footer (declared with the tfoot element) And one or more bodies (declared with the tbody element) These parts must be declared in the above order. Using Rules in Web Tables by Professor Al Fichera 6

Keep Order in a Table The thead, tfoot, and tbody helps the browser to scroll through the separated data and keep the header and footer in place. The browser could repeat the header and footer when the page is printed, esp. if it spans more than one page. Using Rules in Web Tables by Professor Al Fichera 7

HTML 4.0 thead Rules The thead element defines a group of header rows in a table. A table may have one thead, which must follow any caption, colgroup, or col elements, and precede the optional tfoot and required tbody elements. Using Rules in Web Tables by Professor Al Fichera 8

HTML 4.0 thead Tags The double-sided tags hold Header information and will appear at the top of your Table. Example on next slide. Take particular notice of where these tags are placed in relation to the table row tags. Using Rules in Web Tables by Professor Al Fichera 9

HTML 4.0 thead Tags header text Using Rules in Web Tables by Professor Al Fichera 10

HTML 4.0 tfoot Rules The tfoot element defines a group of footer rows in a table. A table may have only one tfoot, which must follow the optional thead and precede the required tbody. Using Rules in Web Tables by Professor Al Fichera 11

HTML 4.0 tfoot Tags The double-sided tags hold Footer information and should appear at the bottom row of your Table. This example shows the tfoot as one cell by merging all other columns with colspan. For example: data here Using Rules in Web Tables by Professor Al Fichera 12

HTML 4.0 Table tbody The tbody element defines a group of data rows in a table. A table must have one or more tbody elements, which must follow the optional tfoot. The tbody end tag is always optional, however, plan on closing it in case the rules change on you in the months to come. See example of the code on the next slide. Using Rules in Web Tables by Professor Al Fichera 13

HTML 4.0 tbody Tags body text Using Rules in Web Tables by Professor Al Fichera 14

HTML 4.0 Table Example This example from MSIE 8 does not use the Colgroup and Col attributes seen in lecture 2, yet looks similar. Using Rules in Web Tables by Professor Al Fichera 15 Note: The CSS code will be discussed in lecture 4 of the HTML 4.0 Table lectures.

HTML 4.0 Table Frames August 25, 2010 Basic HTML Coding by Professor Al Fichera 16 Note: This works in MSIE only, it allows you to decide where the Border Lines appear in your table. – These are the 9 Options below: – For example: above below vsides hsides lhs rhs void box (the default) border (same as box)

HTML 4.0 MSIE Frames Example MSIE is the only Browser that can use the Frames attribute, this one is the below style. Using Rules in Web Tables by Professor Al Fichera 17

HTML 4.0 Table Frames MSIE Not a big improvement, and it only works in MSIE Using Rules in Web Tables by Professor Al Fichera 18

HTML 4.0 Table Rules August 25, 2010 Basic HTML Coding by Professor Al Fichera 19 This works in Firefox and Safari only, it allows you to decide how the inside Table Grid Lines appear in your table. – These are the 5 Options below: – For example: all Cols groups none rows

HTML 4.0 Rules in Firefox and Safari Rules not working in MSIE any longer, but does in Firefox and Safari, go figure! Using Rules in Web Tables by Professor Al Fichera 20

What This Lecture Covered In this third lecture on HTML Tables I introduced the Summary feature for your tables. I discussed the accessibility feature of using a Table Summary. Introduced the concepts of a tbody, thead, and tfoot. Showed examples of the tbody, thead, and tfoot. Designing with Table Frames and Table Rules and included three Browsers and how they handled the code. Using Rules in Web Tables by Professor Al Fichera 21