Creating Tables in a Web Site

Slides:



Advertisements
Similar presentations
Project 2: Adding a New Web Page to a Web Site Presentation by: Joseph H. Schuessler, B.B.A., M.B.A., M.S., Ph.D. (ABD) Agenda Video Last Class Front Page.
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Introduction to XHTML Programming the World Wide Web Fourth edition.
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Copyright © 2003 Pearson Education, Inc. Slide 5-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Tutorial 3 – Creating a Multiple-Page Report
Tutorial 9 – Creating On-Screen Forms Using Advanced Table Techniques
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Windows XP Project An Introduction to Microsoft Windows XP and Office 2003.
Creating a Dreamweaver Web Page and Local Site
HTML Tags and Their Functions
© 2010 Delmar, Cengage Learning Chapter 5 Positioning Objects with CSS and Tables.
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.
XP Tutorial 4New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Designing a Web Page with Tables Tutorial 4 Creating a News Page.
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.
Svetlin Nakov Telerik Corporation
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.
Microsoft Access.
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Office 2003 Integration Integrating Office 2003 Applications and the World Wide Web.
Benchmark Series Microsoft Excel 2013 Level 2
Creating a Dreamweaver Web Page and Local Site
Working with Tables for Page Design – Lesson 41 Working with Tables for Page Design Lesson 4.
Learning the Basics – Lesson 1
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
INTRODUCTORY MICROSOFT WORD Lesson 7 – Working With Documents
Benchmark Series Microsoft Excel 2010 Level 1
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Chapter 13 Web Page Design Studio
HTML Concepts and Techniques Fourth Edition Project 2 Creating and Editing a Web Page.
Benchmark Series Microsoft Excel 2013 Level 2
Creating and Editing a Web Page Using Inline Styles
Chapter 8 Creating Style Sheets.
Chapter 5 Creating an Image Map
Chapter 5 Creating an Image Map.
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.
Using HTML Tables.
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.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
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.
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
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.
HTML Concepts and Techniques Fourth Edition Project 3 Creating Web Pages with Links, Images, and Formatted Text.
HTML Comprehensive Concepts and Techniques Third Edition Project 3 Creating Web Pages with Links, Images, and Formatted Text.
Creating Tables in a Web Site
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
Creating Web Pages with Links, Images, and Formatted Text
Creating Tables in a Web Site
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
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.
HTML Concepts and Techniques Fourth Edition Project 5 Creating an Image Map.
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.
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.
Creating and Editing a Web Page
Creating Tables in a Web Site HTML 4 Created by S. Cox.
Creating and Editing a Web Page Using Inline Styles
Creating Web Pages with Links, Images, and Embedded Style Sheets
CIS101 Introduction to Computing Week 07 Spring 2004.
Chapter A - Getting Started with Dreamweaver MX 2004
Creating Tables in a Web Site Using an External Style Sheet
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 Chapter 4: Creating Tables in a Web Site

Chapter Objectives 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

Introduction Project uses tables learn about elements used in table plan, design, and code a table create tables to organize text and images table column to create menu bar with text links enhance tables using attributes and formats borders, colors, spacing, blank cells, and adding a caption Project 4: Creating Tables in a Web Site

Page 1 – Statewide Realty image positioned In borderless table Project 4: Creating Tables in a Web Site

By Complex – Statewide Realty menu bar table with background color in header row Project 4: Creating Tables in a Web Site

By Vacancy– Statewide Realty cellspacing and cellpadding attributes used to space text in table table caption Project 4: Creating Tables in a Web Site

By Bedrooms – Statewide Realty colspan attribute used for heading spanning four columns colspan attribute used for headings each spanning three columns rowspan attribute used for headings each spanning three rows Project 4: Creating Tables in a Web Site

Table Elements Tables consist of rows, columns, and cells, much like a spreadsheet row – horizontal line of information column – vertical line of information cell – intersection of row and column heading cell – displays text as bold and center-aligned data cell – displays normal text that is left aligned Project 4: Creating Tables in a Web Site

Table Borders, Headers, Captions, and Rules table border is the line that encloses the perimeter of a table table header – is the same as a heading cell, any cell with bold text that indicates purpose of the row or column table caption – descriptive text located above or below the table describing the purpose of the table rules attribute – allows developer to select which internal borders to show in a table rules=“none” no internal rules rules=“cols” creates table with vertical rules between each column rules=“rows” creates table with horizontal rules between each row More on Web Project 4: Creating Tables in a Web Site

Planning, Designing, and Coding a Table Creating tables for Web Page Three step Process determining if a table is needed planning the table coding the table Project 4: Creating Tables in a Web Site

Determining If a Table Is Needed table should be used: organize information on a Web page making it easier to read needs to display a structured, organized list of information includes text and images that must be positioned in a very specific manner Project 4: Creating Tables in a Web Site

Planning a Table plan how information will appear in the table and then create a good design sketch the table on paper before writing any HTML code saves time when determining HTML tags how many rows and columns to create if table will include headings include headings that span rows and columns include a table caption More on Web Project 4: Creating Tables in a Web Site

table rows indicated in HTML code table heading indicated in HTML code Coding a Table table rows indicated in HTML code <tr> and </tr> tags table heading indicated in HTML code <th> and </th> tags appears bold and centered table data indicated in HTML code <td> and </td> tags appears normal and left-aligned Project 4: Creating Tables in a Web Site

Coding a Table Project 4: Creating Tables in a Web Site

Table Tag Attributes Project 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 Horizontal Menu Bar with Text Links menu bar placed at the top or left side of page prevents user from having to search the page for navigation links cellspacing attribute set amount of space between cells gives table additional white space, creates more polished readable look width attribute – changes width of each column relative to entire table percentage mode – preferred if window resized in browser pixels mode – less flexible method Project 4: Creating Tables in a Web Site

Creating a Horizontal Menu Bar with Text Links If necessary, click line 18 Enter the HTML code shown in Table 4-4, pressing ENTER after each line Press the ENTER key once Chapter 4: Creating Tables in a Web Site

Creating a Horizontal Menu Bar with Text Links pipe symbol used as divider between link text list of text links in data cells creates menu bar More on Web Project 4: Creating Tables in a Web Site

Validating a Web Page Open Internet Explorer and navigate to the Web site validator.w3.org Click the Validate by File Upload tab Click the Browse button Locate the statewide.html file on your storage device and click the file name Click the Open button in the Choose file dialog box and the file name will be inserted into the File box Click the Check button Chapter 4: Creating Tables in a Web Site

Viewing a Web Page In Internet Explorer, click the Address bar to select the URL on the Address bar Type E:\HTML\ChapterFiles\Chapter04\ statewide.html on the Address bar of your browser and press ENTER to display the Web page Chapter 4: Creating Tables in a Web Site

Viewing a Web Page Project 4: Creating Tables in a Web Site image positioned In borderless table horizontal menu bar Project 4: Creating Tables in a Web Site

Creating a Table with Borders and Inserting Text <table> with border=“5” and width=75% header tags and text data cells Project 4: Creating Tables in a Web Site

Validating, Viewing, and Printing the Web Page Using the Browser Click the Internet Explorer button on the taskbar Use the W3C validator service to validate the complex.html Web page Use the Back button or click the Statewide Realty Home Page button on the taskbar to return to the Statewide Realty home page Click the By Complex link to display the By Complex page Click the Print button on the Command bar to print the Statewide Realty - By Complex Web page Chapter 4: Creating Tables in a Web Site

Validating, Viewing, and Printing the Web Page Using the Browser image positioned in borderless table horizontal menu bar table with border Project 4: Creating Tables in a Web Site

Adding Cellspacing and Cellpadding and a Caption cellspacing defines the number of pixels of space between cells in a table cellpadding defines the number of pixels of space within a cell in a table cellspacing=“2” cellpadding=“5” caption describes the purpose of a table <caption align=“bottom”><em>Listing of movies by actor</em></caption> Project 4: Creating Tables in a Web Site

Adding Cellspacing and Cellpadding and a Caption with cellpadding and cellspacing table caption Project 4: Creating Tables in a Web Site

Creating the Headings That Span Rows rowspan spanning 3 rows colspan spanning 3 columns Project 4: Creating Tables in a Web Site

Spanning the Main Heading across All Columns first colspan More on Web Project 4: Creating Tables in a Web Site

Viewing and Printing the Web Page colspan attribute used for heading spanning four columns colspan attribute used for headings each spanning three columns rowspan attribute used for headings each spanning three rows Project 4: Creating Tables in a Web Site

Chapter Summary 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 Chapter 4: Creating Tables in a Web Site

Chapter Summary 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 Summary 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

Homework # 7 In the Lab 3 page HTML 198-199 Creating Linked Schedules See INF 186 Computer Assignment 7 Web page for details, hints, and requirements for the assignment Project 4: Creating Tables in a Web Site

Creating Tables in a Web Site Project 4 Complete Creating Tables in a Web Site