INTRODUCTORY Tutorial 7 Creating Tables. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Discern the difference between data tables and.

Slides:



Advertisements
Similar presentations
HTML TABLES EXPLAINED. What is a TABLE? The HTML table allows web designers to arrange & organize data -- text, images, hyperlinks, forms, form fields,
Advertisements

INTRODUCTORY Tutorial 8 Creating Data Tables. XP Objectives Contrast data tables with layout tables Create a table to display and organize data Provide.
Designing Web Pages Tables part one. Using Tables for Page Layout 2.
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
 2001 Prentice Hall, Inc. All rights reserved. Outline 1 Table1.html 1 2
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.
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
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.
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.
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.
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.
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 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.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 2.
>> Introduction to HTML: Tables. HTML is used to give websites structure 5 Basic Tags Element = Start-Tag+Content+End-Tag Heading Tags [h1-h6] Paragraph.
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,
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
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.
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.
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.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 5: Working with Tables Kelly L.
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.
How To Create HTML Tables. Table Structure General HTML code for a Web Table: table cells table cells.
Using Tables for Layout INP150 Session #8. Layout Map out your page Design with paper and pencil Determine number of rows and columns you need Determine.
Creating Tables in a Web Site HTML 4 Created by S. Cox.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
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.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
CIS101 Introduction to Computing Week 07 Spring 2004.
Tutorial 5 Working with Web Tables
CSE 154 Lecture 17: HTML tables.
Organizing Content with Lists and Tables
Working with Tables: Module A: Table Basics
>> HTML: Tables.
LAB Work 02 MBA 61062: E-Commerce
Tutorial 5 Working with Tables and Columns
H T M L A B E S X P I N D.
Tutorial 5 Working with Web Tables
Using HTML Tables SWBAT: - create tables using HTML
Introduction to XHTML Cont:.
Introduction to HTML.
Site Development Foundations Lesson 6
Lesson 5: HTML Tables.
Presentation transcript:

INTRODUCTORY Tutorial 7 Creating Tables

XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Discern the difference between data tables and layout tables Create a table to display and organize data Merge table columns or rows Understand how to plan and use layout tables Create a table for layout

XP Objectives Learn how to nest a data table within a layout table Create styles to change the appearance of a table Position the cell contents vertically Position a table horizontally New Perspectives on Blended HTML, XHTML, and CSS3

XP Understanding the Limitations of HTML Tables Using HTML, you must enter the code for a table one row at a time and one cell at a time To organize data, you create a data table, which is a table used to align text and numbers in columns and rows To design pages, you can create a layout table, which is a table intended solely for page layout When you place a table inside another table, you are creating a nested table New Perspectives on Blended HTML, XHTML, and CSS4

XP Creating a Table Border To create a table border, enter the following code: where border is the border attribute and pixelvalue is the width of the border expressed in pixels. The higher the pixel value, the thicker the border New Perspectives on Blended HTML, XHTML, and CSS5

XP Entering the Title and Summary Attributes To begin creating a table, enter the following code: where table is the start table tag, title is the title attribute, tabletitle is a brief description of the table to be used as a ScreenTip, summary is the summary attribute, tablesummary is a detailed description of the table content, and is the end table tag on a separate line New Perspectives on Blended HTML, XHTML, and CSS6

XP Creating a Table Caption To create a table caption, enter the following code: captiontext where caption is the start caption tag, captiontext is the text in the caption, and is the end caption tag. If you want to position the caption below the table, insert the align attribute into the caption tag and assign the value of bottom New Perspectives on Blended HTML, XHTML, and CSS7

XP Creating Table Rows To create table rows, enter the following code: tabledata where is the start table row tag, td 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 Most HTML tables have one or more rows used for the column headers, which by default make the text in the header centered and bold Use the optional table header tags, and, to create table headers New Perspectives on Blended HTML, XHTML, and CSS8

XP Spanning Cells Across Columns 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 colspan should begin. All empty spanned table data cells should be deleted New Perspectives on Blended HTML, XHTML, and CSS9

XP Merging Cells in Rows To span a cell across rows, enter the following code: where rowspan is the rowspan attribute and value is the number of rows that will be spanned. The rowspan attribute and its value must be placed in the cell in which the rowspan should begin. All empty spanned table data cells should be deleted. If a row containing a rowspan is formatted, the row will include all the cells horizontally and the merged cells vertically New Perspectives on Blended HTML, XHTML, and CSS10

XP Merging Cells in Rows New Perspectives on Blended HTML, XHTML, and CSS11

XP Using Tables for Layout New Perspectives on Blended HTML, XHTML, and CSS12

XP Using Tables for Layout New Perspectives on Blended HTML, XHTML, and CSS13

XP Inserting Comments into the Table New Perspectives on Blended HTML, XHTML, and CSS14

XP Removing the Table Border Now that the placeholder text has been replaced with actual data, you no longer need to display the nested data table border New Perspectives on Blended HTML, XHTML, and CSS15

XP Using CSS with Tables Because the layout table occupies the entire body section, almost all styles you create for the table will supersede any styles you create for the body New Perspectives on Blended HTML, XHTML, and CSS16

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

XP Using CSS with Tables New Perspectives on Blended HTML, XHTML, and CSS18

XP Striping Rows Many tables mimic the appearance of computer printout where each row has an alternating background color, making the rows easier to locate and read New Perspectives on Blended HTML, XHTML, and CSS19

XP Formatting Columns New Perspectives on Blended HTML, XHTML, and CSS20

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