Html Tables Basic Table Markup. How Tables are Used For Data Display Tables were originally designed to display and organize tabular data (charts, statistics,

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.
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.
Chapter 3 – Web Design Tables & Page Layout
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.
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.
Working with Web Tables
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
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.
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
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.
Using HTML to Create Tables in Web pages Connie Lindsey November 2005.
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.
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.
Bayu Priyambadha, S.Kom. for long documents, you can even have links to other locations in that same document  … where ident is a variable for identifying.
HTML Comprehensive Concepts and Techniques Second Edition Creating Tables in a Web Site October 23, 2012.
CHAPTER 11 Tables. How Are Tables Used Data Display  Very tidy and very useful Better Text Alignment  Putting text in tables allows you to format indents.
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.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
CO1552 – Web Application Development Lists, Special Characters, and Tables.
Website Development with Dreamweaver
>> 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.
10/4/2015Tables1 Spring, 2008 Modified by Linda Kenney 4/2/08.
Tutorial 5 Working with Tables and Columns
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
Tutorial 5 Working with Tables and Columns
Week 5 Working with Tables. 2 Understanding Table Basics.
Kevin Murphy Introduction to Tables Masters Project CS 490.
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.
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.
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.
Chapter 5 Working with Tables Principles of Web Design, 4 th Edition.
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.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: HTML Tables.
Tables creating a table within a web page. What makes up a table? Columns Rows.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 5.
Tables.  How tables are used  Basic table structure  Importance of headers  Spanning rows and columns  Cell padding and spacing  Accessibility.
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.
1 Mansoor Ahmed Bughio. 2 HTML TABLES With HTML you can create tables. Examples Tables This example demonstrates how to create tables in an HTML document.
Tutorial 5 Working with Web Tables
>> HTML: Tables.
HTML Tables CS 1150 Spring 2017.
Tutorial 5 Working with Tables and Columns
Chapter 7 Tables.
H T M L A B E S X P I N D.
Tutorial 5 Working with Web Tables
HTML and CSS 8th Edition Chapter 18: Tables.
Chapter 8 Tables.
Basic Tables.
Basic Tables.
Implementing Tables to Hold Data in HTML
Basic Tables.
Site Development Foundations Lesson 6
Principles of Web Design 5th Edition
Lesson 5: HTML Tables.
Presentation transcript:

html Tables Basic Table Markup

How Tables are Used For Data Display Tables were originally designed to display and organize tabular data (charts, statistics, schedules). Tables consist of rows and columns that intersect to create cells

Tables

How Tables Are Used For overall page structure Have been used to control the entire layout of many sites. For controlling text alignment & white space For holding together a multipart (sliced) image. Before CSS - tables were the only way to create multi- column layouts CSS offers more control over website layout (semantically correct)

Basic Table Markup Determines the start and end of a table. You can specify the width of a table, whether or not it has a border, and the spacing between cells (best to handle this formatting with CSS). Places a text heading above the table, which labels the table for reference. Defines the start and end of a table row Defines a table header, acts as a label for a group of table cells. Defines a standard table cell.

Basic Table Structure

The XHTML code for tables The code for a table with 3 columns and 2 rows Heading 1 Heading 2 Heading 3 Content Content Content

Formatting Tables Attributes for the tag include: column span row span Cause the cell to stretch across a number of rows or columns

Formatting Tables Accessibility Title or brief description - displayed in visual browser Longer description of table and contents Not rendered in visual browsers Used by screen readers, assistive devices

Formatting Tables Presentational Table Attributes (can now be handled by CSS) Presentational Attributes for the tag include: controls the thickness of the border around the table controls the dimension of the table <td align=“left | right | center” valign=“left | right | center”> controls the cell content alignment applies a background color to the table

Formatting Tables Attributes for the tag include: controls the space around the cell contents (default value = 1 px) Used with table element only, this value applies to all cells in the table CSS padding property allows for more control (cell-by-cell) controls the space between cells

Tables – pros & cons Tables can be quirky Complex code Inconsistent browser interpretation of the code Expanding text in cells: cell will expand to accommodate content Collapsing cells Shifting columns: complex tables with lots of column spans may sometimes fall apart in a browser Still very useful…