INTRODUCTORY Tutorial 8 Creating Data Tables. XP Objectives Contrast data tables with layout tables Create a table to display and organize data Provide.

Slides:



Advertisements
Similar presentations
Designing Web Pages Tables part one. Using Tables for Page Layout 2.
Advertisements

Tutorial 5 Working with Web Tables
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Working with Web Tables
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
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.
1 Tables: Data in Rows and Columns – What is Table? – How Tables are Used? – Designing Tables – Table, Cell, Row Attributes – Using Tables for Alignment.
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
Notes Ch. 12—Creating Tables Web Page Design. Why Use Tables? Tables are used to create a variety of items such as calendars, charts, and spreadsheets.
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.
Tutorial #8 – Creating Data Tables. Tutorial #6 Review – Layouts Two Column Fixed Width, Three Column Fixed Width Class VS. ID Container Universal Selector.
CIS 1310 – HTML & CSS 8 Tables. CIS 1310 – HTML & CSS Learning Outcomes  Create a Table  Apply Attributes to Format Tables  Increase the Accessibility.
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.
Creating Tables in a Web Site Using an External Style Sheet
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.
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.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
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
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.
A table is a rectangular arrangement of rows and columns on your screen A table is used to organize data into rows and columns and also increasingly.
TABLES 1. In this chapter you will learn that tables have many uses in HTML. Objectives: Upon completing this section, you should be able to: 1. Insert.
1 TECH1001 Lecture 6 Electronic Publishing and Production 1 More About Tables.
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.
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything › Text › Lists › Other tables › Pictures › …
Basic Table Elements. 2 Objectives Define table elements Describe the steps used to plan, design, and code a table Create a borderless table with text.
CS-3432 Electronic Commerce Lecture – 7 Sikandar Shujah Toor
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.
26 HTML Tables … surround table … surround each row … surround each cell … like, but bold and centered by default (for table headings) … table title No.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
How To Create HTML Tables. Table Structure General HTML code for a Web Table: table cells table cells.
Creating Tables in a Web Site HTML 4 Created by S. Cox.
Chapter 9 Table Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: HTML Tables.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 5 1 Microsoft Office FrontPage 2003 Tutorial 5 – Creating Tables and Frames.
Tutorial 5 Working with Web Tables
CSE 154 Lecture 17: HTML tables.
Organizing Content with Lists and Tables
Web Development & Design Foundations with HTML5
Applying CSS to Tables Stylish Tables.
Web Development & Design Foundations with HTML5 8th Edition
HTML Tables CS 1150 Spring 2017.
Tutorial 5 Working with Tables and Columns
How to work with tables Chapter 10.
Tutorial 5 Working with Web Tables
8 Tables.
HTML Tables & Frames Internet Technology.
Web Development & Design Foundations with HTML5
Site Development Foundations Lesson 6
Lesson 5: HTML Tables.
Web Development & Design Foundations with HTML5
HTML Tables & Frames Internet Technology.
Basics of Web Design Chapter 9 Table Basics Key Concepts
Presentation transcript:

INTRODUCTORY Tutorial 8 Creating Data Tables

XP Objectives Contrast data tables with layout tables Create a table to display and organize data Provide a table caption Merge table columns or rows New Perspectives on Blended HTML, XHTML, and CSS2

XP Objectives Create styles for the table element Format columns of data Stripe table rows Position a text block New Perspectives on Blended HTML, XHTML, and CSS3

XP Creating a Table to Display and Organize Data A data table is a table used to align Web content in columns and rows – A cell is the intersection of a column and row A layout table is a table in which the code is used for page layout Frames present documents in multiple views as either independent windows or subwindows – Legacy code New Perspectives on Blended HTML, XHTML, and CSS4

XP Creating a Table to Display and Organize Data To create a table, enter the following code: where is the start table tag, title is the title attribute, tabletitle is a brief description of the table to be used as a ScreenTip, and is the end table tag. New Perspectives on Blended HTML, XHTML, and CSS5

XP Creating a Table to Display and Organize Data A caption is a brief description of a table To create a table caption, enter the following code: captiontext where is the start caption tag, captiontext is the text in the caption, and is the end caption tag. New Perspectives on Blended HTML, XHTML, and CSS6

XP Creating a Table to Display and Organize Data The table row element is used to create table rows To create table rows, enter the following code: tabledata where is the start table row tag, is the start table data tag, tabledata is the data for the cell, is the end table data tag, and is the end table row tag. New Perspectives on Blended HTML, XHTML, and CSS7

XP Creating a Table to Display and Organize Data The table data element is used for entering cell content The table header element formats the first row of a table The scope attribute determines which adjacent cells are associated with a particular cell New Perspectives on Blended HTML, XHTML, and CSS8

XP Creating a Table to Display and Organize Data New Perspectives on Blended HTML, XHTML, and CSS9

XP Creating a Table to Display and Organize Data Table borders are the horizontal and vertical lines that surround the table Gridlines are the horizontal and vertical lines that appear within the table To create external borders, enter the following CSS code: table { border: value; } where table is the table element, border is the border property, and value is any CSS unit measurement New Perspectives on Blended HTML, XHTML, and CSS10

XP Creating a Table to Display and Organize Data To create gridlines, enter the following CSS code: th, td { border: value; } where th, td are the table header and table data selectors, border is the border property, and value is any CSS unit measurement. New Perspectives on Blended HTML, XHTML, and CSS11

XP Creating a Table to Display and Organize Data New Perspectives on Blended HTML, XHTML, and CSS12

XP Creating a Table to Display and Organize Data The colspan attribute is used to merge cells across columns The rowspan attribute is used to merge cells across rows To span a cell across columns, enter the following code: where colspan is the colspan attribute and value is the number of columns that will be spanned. The colspan attribute and its value must be placed in the cell in which the column merge should begin. All empty spanned table data cells should be deleted. New Perspectives on Blended HTML, XHTML, and CSS13

XP Creating a Table to Display and Organize Data New Perspectives on Blended HTML, XHTML, and CSS14

XP Creating a Table to Display and Organize Data The border-collapse property is used to change the appearance of the table gridlines New Perspectives on Blended HTML, XHTML, and CSS15

XP Using CSS to Format Tables To set the table width, enter the following CSS styles code: table { width: value; } where table is the table element selector, width is the width property, and value is a value for the table width expressed in any of the CSS units of measurement. New Perspectives on Blended HTML, XHTML, and CSS16

XP Using CSS to Format Tables New Perspectives on Blended HTML, XHTML, and CSS17

XP Using CSS to Format Tables Row striping alternates the background color of the rows in a table To create row striping, enter the following code: tr.stripe { styles } where tr is the table row element, stripe is a dependent class name, and styles are the styles to change the appearance of an alternate row of the table Within the start tag, apply the stripe class to each alternate row in the table New Perspectives on Blended HTML, XHTML, and CSS18

XP Using CSS to Format Tables New Perspectives on Blended HTML, XHTML, and CSS19

XP Using CSS to Format Tables The column element is used to format one or more columns To format table columns, enter the following code below the table caption code: where col is the column element. Enter a element for each column in the table. If the element will format more than one column, enter span="n", where span is the span attribute and n is the number of columns to be spanned. Delete the col element for each column to be spanned. New Perspectives on Blended HTML, XHTML, and CSS20

XP Using CSS to Format Tables New Perspectives on Blended HTML, XHTML, and CSS21