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.

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

Using HTML Tables Presenting Information & Layout Control.
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.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Creating Tables in a Web Site
Tutorial 4: Designing a Web Page with Tables
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
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.
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.
Tables in HTML Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
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.
Identifies the Structure Table Row Column 1 Table Heading Column 2.
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.  Define table elements  Describe the steps used to plan, design, and code a table  Create a borderless table to organize.
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.
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.
Creating Tables in a Web Site
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
INTRODUCTORY Tutorial 7 Creating Tables. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Discern the difference between data tables and.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
Actual Building the Pages Tables. Using Table Elements  To build effective page templates, you must be familiar with the HTML table elements and attributes.
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
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
Tutorial 5 Working with Tables and Columns
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.
Kevin Murphy Introduction to Tables Masters Project CS 490.
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.
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.
Tables in HTML. Table Tag HTML tables always begin and end with a table tag. Syntax:
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
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.
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.
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.
Building a Web Page. Create A New Folder  Right click on the desktop and select New / Folder  Name the folder playpen.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
Web Page Tables GMU-Teaching with Technology. Table Characteristics: Looks like a news page Contains columns and rows.
REEM ALMOTIRI Information Technology Department Majmaah University.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
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.
CIS101 Introduction to Computing Week 07 Spring 2004.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
>> HTML: Tables.
LAB Work 02 MBA 61062: E-Commerce
Introduction to HTML.
H T M L A B E S X P I N D.
Using HTML Tables SWBAT: - create tables using HTML
TABLES.
Creating Tables in a Web Site
Web Development & Design Foundations with H T M L 5
COMS 161 Introduction to Computing
H T M L A B E S X P I N D.
Site Development Foundations Lesson 6
Lesson 5: HTML Tables.
H T M L A B E S X P I N D.
Presentation transcript:

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 lists of information ~ a great way to neatly display lists of information. Create newspaper columns ~ to present information in columns like those found in a newspaper Control web page layout ~control the placement of text and images on your web pages Create borders ~ add colored borders

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Parts of a Table Unit 4 Page 1 Row A row is a horizontal line of data. Header Cell A header cell contains text that describes the data in a row or column. Data Cell A data cell contains data.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Tables Unit 4 Page 1 Creating a Table Type to begin. You will type at the completion of your table. Type before the text for each row of the table. Type after the text for each row in a table. Type in front of the text for each header cell. Type after the text for each header cell. Type in front of the text for each data cell. Type after the text for each data cell.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Tables Unit 4 Page 1 Practice Assignment Create a progress report for yourself.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Tables Unit 4 Page 1 PeriodSubjectTeacherGrade to Date CommentsTeacher Initials

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Adding Images to Tables Unit 4 Page 2 You can add an image to a cell in a table. This helps control the placement of the image on your web page. This would look like:

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Practice Table With Images Unit 4 Page 2 Practice: TextImage Text

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/09/2009 Period : Summary: Adding Borders To tables Unit 4 Page 3 In the tag for the table you want to display a border, type border = ? replacing ? With the thickness you want to use for the border in pixels. By default the border displays in grey or silver. To change the border color type bordercolor=? replacing the ? With a named color Practice: Add a border with color to your progress report.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/09/2009 Period : Summary: Adding a caption to a table Unit 4 Page 3 Type directly below the tag for the table you want to display a caption. Type the caption you want the table to display. Type after the caption. Practice: Add the caption Progress Report to your Progress Report table.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/09/2009 Period : Summary: NOWRAP Unit 4 Page 3 Position the cursor in the or tag for the cell that contains text you want to appear on one line. Type NOWRAP September 19, 2009 The web browser displays the text on one line.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/10/2009 Period : Summary: COLSPAN ROWSPAN Unit 4 Page 3 In the or tag for the cell you want to span across columns, type colspan= ? replacing the ? with the number of columns you want the cell to span across. In the or tag for the cell you want to span down rows, type rowspan= ? replacing the ? with the number of rows you want the cell to span down.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/10/2009 Period : Summary: COLSPAN Unit 4 Page 3 Practice: Create a table of your favorite movies by genre: Favorite Movies SyFyComedyActionDramaHorror

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/10/2009 Period : Summary: ROWSPAN Unit 4 Page 4 Practice: Create a table of your musical artist: Image of ArtistName of Artist List favorite songs

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/11/2009 Period : Summary: Align Data Horizontally Align Data Vertically Unit 4 Page 4 Position the cursor in the tag for the cell ( or ), row or tag for the row containing the data you want to align horizontally. Type align= ? replacing the ? with the way you want to align the data (left, center, or right). Position the cursor in the tag for the row containing the data you want to align vertically. Type valign= ? replacing the ? with the way you want to align the data (top, middle, or bottom).

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/14/2009 Period : Summary: Adding color to a table Unit 4 Page 5 You can add color to a cell, a row, or an entire table to emphasize important information. Position the cursor in the tag for the cell ( or ), row or you want to add color to. Type bgcolor=“?” replacing ? With the name or code for the you want to use (example: red or #FF0000). The Web browser displays the cell, row or entire table in the color you specified.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/14/2009 Period : Summary: Adding a background image to a table Unit 4 Page 5 You can add a background image to a table to enhance the appearance of the table. Position the cursor in the tag for the table you want to display a background image. Type background=“?” replacing ? with the location of the image on your computer. The Web browser displays the table with the background image you specified.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/15/2009 Period : Summary: Changing the size of a table on your Web page. Unit 4 Page 5 Position the cursor in the tag for the table you want to resize. To change the width, type width=“?” replacing ? with a width in pixels (example: 600) or as a percentage of the window (example:50%). The press the Spacebar. To change the height, type height=“?” replacing ? with a width in pixels (example: 300) or as a percentage of the window (example:50%). The Web browser displays the table with the width and height you specified.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/15/2009 Period : Summary: Changing the size of a cell to improve the layout of a table. Unit 4 Page 6 Position the cursor in the or tag for the cell you want to resize. To change the width, type width=“?” replacing ? with a width in pixels (example: 200) or as a percentage of the window (example:50%). The press the Spacebar. To change the height, type height=“?” replacing ? with a width in pixels (example: 100) or as a percentage of the window (example:50%). The Web browser displays the cell with the width and height you specified. All the cells in the same row also display the new width or height.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/15/2009 Period : Summary: Cell Spacing Unit 4 Page 6 You can change the amount of space between each cell in a table. In the tag for the table you want to change, type cellspacing=“?” replacing ? with the amount of space you want to appear between each cell in pixels.

TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/15/2009 Period : Summary: Cell Padding Unit 4 Page 6 You can change the amount of space around the contents of each cell in a table. In the tag for the table you want to change, type cellpadding=“?” replacing ? with the amount of space you want to appear around the contents of each cell in pixels. The Web browser displays the table with the cell padding you specified.