Creating Tables in a Web Site

Slides:



Advertisements
Similar presentations
HTML Tags and Their Functions
Advertisements

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
Creating Tables in a Web Site
Chapter 8 Creating Style Sheets.
Chapter 5 Creating an Image Map.
Tutorial 4: Designing a Web Page with Tables
CIS101 Introduction to Computing Week 07. Agenda Your questions JavaScript text Resume project HTML Project Three This week online Next class.
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.
Macromedia Dreamweaver MX 2004 Design Professional Tables WORKING WITH.
Introducing Web Tables
CIS101 Introduction to Computing HTML Project Two.
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.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Using Frames in a Web Site
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.
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.
Identifies the Structure Table Row Column 1 Table Heading Column 2.
Creating Tables in a Web Site Using an External Style Sheet
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.
HTML Comprehensive Concepts and Techniques Second Edition Creating Tables in a Web Site October 23, 2012.
Chapter 3. Table have many uses in a HTML design but are mostly used for the organization of your web site. Tables also give vertical and horizontal structure.
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.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit F Working with Tables.
Creating Tables in a Web Site
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Chapter 5 Creating Page Templates
Actual Building the Pages Tables. Using Table Elements  To build effective page templates, you must be familiar with the HTML table elements and attributes.
Chapter 5 Creating an Image Map.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
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.
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
Dreamweaver CS4 Concepts and Techniques Chapter 2 Adding Web Pages, Links, and Images.
Using HTML tables.... Objectives... How to create tables Basic,, tags Some arguments with table Height, width, border Special “tricks” Cell text alignment.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
HTML Concepts and Techniques Fifth Edition Chapter 6 Using Frames in a Web Site.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Tables Web Authoring. This kind of a table THISIs aTABLE THISIs aTABLE THISIs aTABLE THISIs aTABLE.
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.
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
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.
CHAPTER 5 Working with Data Tables and Inline Frames.
Chapter 5 Creating Page Templates. Principles of Web Design 2nd Ed. Chapter 5 2 Principles of Web Design Chapter 5 Objectives Understand table basics.
Chapter 5 Working with Tables Principles of Web Design, 4 th Edition.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
1 Creating the Home Page. 2 Creating a Table Table attributes  Two rows and two columns  No border  Left-aligned Change the vertical alignment of the.
Creating and Editing a Web Page
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
Creating Tables in a Web Site HTML 4 Created by S. Cox.
Creating and Editing a Web Page Using Inline Styles
Web111a_chapt04.ppt HTM: Section 4 Tables Table Types Text table elements Easy to use Use fixed-font text (font family monospace) Andale Mono Courier Monaco.
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.
TABLES IN HTML No, not that kind of table!! THIS KIND!!
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.
Tables: Basic Elements Header 1Header 2Header 3 Row 1, Column 1Row 1, Column 2Row 1, Column 3 Row 2, Column 1Row 2, Column 2Row 2, Column 3 Row 3, Column.
 Chapter 4.  External Style Sheet o Used to define styles for multiple pages in a Web site. o Also called Linked Style Sheets o Crete the style sheet.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
CIS101 Introduction to Computing Week 07 Spring 2004.
Chapter A - Getting Started with Dreamweaver MX 2004
Tables and Frames.
Creating Tables in a Web Site Using an External Style Sheet
H T M L A B E S X P I N D.
Creating Tables in a Web Site
Presentation transcript:

Creating Tables in a Web Site Chapter 4 Creating Tables in a Web Site

Chapter Objectives Define table elements Describe the steps used to plan, design, and code a table Create a borderless table to position images Create a horizontal menu bar with text links Copy and paste HTML code to a new file Create a borderless table to organize text Create a table with borders and insert text Change the horizontal alignment of text Chapter 4: Creating Tables in a Web Site

Chapter Objectives Add background color to rows and cells Alter the spacing between and within cells using the cellspacing and cellpadding attributes Insert a caption below a table Create headings that span rows and columns using the rowspan and colspan attributes Chapter 4: Creating Tables in a Web Site

Prepare yourself Create a Ch 4 folder in your home directory Copy the files from public in the following directory P:\HTML Stuff\Chapter04\ChapterFiles DO NOT COPY the whole directory, only the 3 files in it. Put these in your home directory. Read the project on pg. 144 Chapter 4: Creating Tables in a Web Site

Tables Tables – allow you to organize information on a web page. Allows you to arrange items in rows and columns. They can be complex or simple Look at pg. 147 for some examples. You can also use tables to position text and images, see pg. 148. This gives you more flexibility with the website. Another thing you can do with tables is create frames – see pg. 149. Chapter 4: Creating Tables in a Web Site

Table elements Row – horizontal line of information Column – vertical line of information Cell – intersection of a row and column Heading cell – displays text bold and centered Data cell – display normal text, left-aligned Table border – line that encloses the perimeter of the table Table header – same as a heading cell Table caption – descriptive text located above or below the table Look at some examples on pg. 150-151 Chapter 4: Creating Tables in a Web Site

Do you need a table? General rule – if it will help organize information or web page elements so that it is easier to read Look at pg. 152, which looks better, table or bulleted list? Chapter 4: Creating Tables in a Web Site

Planning the table You can’t create tables effectively without first etching out on paper what they should look like. Look at the examples on pg. 153. Now I want you to plan a table…. Get in groups of 3 Chapter 4: Creating Tables in a Web Site

Table scenario You are the facilities manager at a conference center in Starkville, MS. It is a general use facility for the community which hosts many events. You would like to place a table on the website to reflect the usage of the center. The rooms are available for use from 8am until 9pm. There are 7 rooms total that can be used. Use your imagination and draw up a table that will meet the needs of this center. Be mindful of row and column spanning… Chapter 4: Creating Tables in a Web Site

Coding the table <table></table> - start and end of table <tr></tr> - start and end of a table row (heading or data) <th></th> - start and end of a heading cell (BOLD and centered) <td></td> - start and end of a data cell Look at the example on pg. 155 Now turn the page (pg. 156) and look at the attributes you can assign to each tag. Chapter 4: Creating Tables in a Web Site

Entering the HTML Tags to Define the Web Page Structure Enter the HTML code shown in Table 4–3. (You can just start with the template you created and make it match, that’s what I would do.) Compare what you typed to Figure 4–12. If you notice errors, use your mouse pointer or ARROW keys to move the insertion point to the right of each error and use the BACKSPACE key to correct the error Chapter 4: Creating Tables in a Web Site

Entering the HTML Tags to Define the Web Page Structure Chapter 4: Creating Tables in a Web Site

Creating a Borderless Table to Position Images Do the exercise on pg. 159-160 This will put your banner in a table. Chapter 4: Creating Tables in a Web Site

Creating a Horizontal Menu Bar with Text Links Look on pg. 161 at the horizontal navigation bars… Enter the HTML code shown in Table 4-4, pressing ENTER after each line The pipe symbol (|) is shift \ (above the Enter key) Save this file as statewide.html Chapter 4: Creating Tables in a Web Site

Adding Text to a Table Cell Now we need to populate the table.. Do pg. 164 Don’t forget to save your file. Validate your code. Let me see it before we go any further. After I see it, continue creating the 2nd web page (pp. 169-174). Remember, we don’t print these out! Now let me see it again! Chapter 4: Creating Tables in a Web Site

Viewing a Web Page Chapter 4: Creating Tables in a Web Site

Testing Links on a Web Page Test all the links to make sure they work… Show me… Chapter 4: Creating Tables in a Web Site

Validating, Viewing, and Printing the Web Page Using the Browser Chapter 4: Creating Tables in a Web Site

Cellspaceing & Cellpadding Cellspacing - # of pixels of space between CELLS Cellpadding - # of pixels of space between the cell’s data and it’s border See pg. 176 DO pg. 178-180 Save this file as vacancy.html Validate it. Now, see how all of them link together. Chapter 4: Creating Tables in a Web Site

Row and column spanning Colspan – attribute that specifies the # of columns to span Rowspan – attribute that specifies the # of rows to span These go on the <th> or <td> tag. Look at the example on pg. 183 Open the file bedrooms.html in your home directory. Do pp. 185-190 – adding row and column spanning to this document. Chapter 4: Creating Tables in a Web Site

Saving and Printing the HTML File and Viewing and Printing the Web Page Chapter 4: Creating Tables in a Web Site

Homework Flash cards for Ch. 4 at www.scsite.com/html5e/learn Labs Individual project In the lab Lab 2 – pg. 197 You will need to get the mask.jpg file from HTML files/ch 4/In The lab Group project Cases and places #5 Choose a partner and create these websites together. Homework Flash cards for Ch. 4 at www.scsite.com/html5e/learn Must score at least 15/20 Do a minimum of 20 cards Due next class meeting (after we discuss this) Chapter 4: Creating Tables in a Web Site