HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit F Working with Tables.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Creating Tables in a Web Site
Creating and Editing a Web Page Using Inline Styles
CREATING A MULTIPLE PAGE REPORT Presented by: Dr. Ennis-Cole.
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.
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.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Lecture 1 Introduction to Excel OVERVIEW Introduction Basics of Cells Modifying Columns and Rows Formatting Cells Saving Working with Formulas Basics.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
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.
Identifies the Structure Table Row Column 1 Table Heading Column 2.
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.
HTML, Third Edition--Illustrated Complete 1 HTML – Third Edition Illustrated Complete Unit I Designing Web Pages.
HTML Comprehensive Concepts and Techniques Third Edition Project 3 Creating Web Pages with Links, Images, and Formatted Text.
Dreamweaver CS4 Concepts and Techniques Chapter 5 Templates and Style Sheets.
HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Creating Tables in a Web Site
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
HTML, Third Edition--Illustrated1 HTML – Illustrated Introductory, Third Edition Unit H Controlling Page Layout with Frames and Tables.
Web Technologies Website Development Trade & Industrial Education
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit F Creating Links and Navigation Bars.
Website Development with Dreamweaver
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 2.
Project 5 Templates and Style Sheets Dreamweaver MX 2004 Concepts and Techniques.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit E Formatting with Cascading Style Sheets.
HTML, Third Edition--Illustrated Brief 1 HTML, Third Edition Illustrated Brief Unit D Adding Graphics and Multimedia.
CIS 205—Web Design & Development Dreamweaver Chapter 5 Using HTML Tables to Lay Out a Page.
Microsoft Expression Web-Illustrated Unit I: Working with Tables.
Creating Tables in a Web Site
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit E Using and Managing Images.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit D Formatting Text and Using Cascading Style Sheets.
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.
Dreamweaver CS4 Concepts and Techniques Chapter 9 Using Spry to Create Interactive Web Pages.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit H Collecting Data with HTML Forms.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit G Using Forms to Control Input.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit G Working with Tables and Layers.
Templates and Style Sheets
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.
Layers, Image Maps, and Navigation Bars
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.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
HTML, Third Edition--Illustrated Brief 1 HTML, Third Edition Illustrated Brief Unit C Formatting Page Elements with HTML.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Building a Web Page. Create A New Folder  Right click on the desktop and select New / Folder  Name the folder playpen.
Creating and Editing a Web Page
1 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
Positioning Objects with CSS and Tables
Creating and Editing a Web Page Using Inline Styles
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Working with Tables and Columns
LAB Work 02 MBA 61062: E-Commerce
Creating Tables in a Web Site Using an External Style Sheet
Creating Tables in a Web Site
Project 5 Creating an Image Map.
Site Development Foundations Lesson 6
Presentation transcript:

HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit F Working with Tables

HTML, Third Edition--Illustrated Introductory 2 U n i t O b j e c t i v e s Plan a table Create a simple table Span and align columns and rows Format table content Plan a table Create a simple table Span and align columns and rows Format table content

HTML, Third Edition--Illustrated Introductory 3 U n i t O b j e c t i v e s Format borders Modify table backgrounds Change table dimensions Position page elements Format borders Modify table backgrounds Change table dimensions Position page elements

HTML, Third Edition--Illustrated Introductory 4 Planning a Table Some of the many attributes for controlling a table’s appearance include:  Structure and border  Alignment  Background  Dimensions  Positioning

HTML, Third Edition--Illustrated Introductory 5 Planning a Table

HTML, Third Edition--Illustrated Introductory 6 Planning a Table

HTML, Third Edition--Illustrated Introductory 7 Creating a Simple Table Start your text editor, open the file htm_F-1.txt, inspect the code, then save it as youth.htm in the paradise/activities folder Click after the comment tag that reads, press [Enter], type, then press [Enter] Type, click before the comment that reads, then type Type, click before the comment that reads, then type Click below and before the word Day, type, click after Day, type, then type opening and closing table heading tags before and after the following items: Time, Activity, Location, Cost, and Notes Click after each of the next Start row comments, press [Enter], press [Delete], then type Click after each of the next Start row comments, press [Enter], press [Delete], then type

HTML, Third Edition--Illustrated Introductory 8 Creating a Simple Table Click before each of the End row comments, type, then press [Enter] Type before and after each of the words or phrases listed in Table F-2 Click before, type, save your work, start your Web browser, then preview the file youth.htm in your browser Open another text editor window, open the file htm_F- 2.txt, click before under the comment at the top of the page, then select and copy all of the code and text to the end of the document Return to the youth.htm file, click in the blank line above, paste the code, then save your work

HTML, Third Edition--Illustrated Introductory 9 Creating a Simple Table

HTML, Third Edition--Illustrated Introductory 10 Creating a Simple Table

HTML, Third Edition--Illustrated Introductory 11 Clues to Use Using comments in a table  The comment tag can be used to create statements such as ( )  Browsers do not display code or text that is contained within comment tags

HTML, Third Edition--Illustrated Introductory 12 Spanning and Aligning Columns and Rows With your youth.htm page code open, drag to select Notes in row 1, then press [Delete] Click just after $3.00 in row 2, press [Enter], type, press [Enter] twice, then type Click just after $3.00 in row 2, press [Enter], type, press [Enter] twice, then type Click after td in the opening table data tag that starts the next line of code, press [Spacebar], then type colspan="5" Repeat the previous two steps in each of the remaining rows, then save your work

HTML, Third Edition--Illustrated Introductory 13 Spanning and Aligning Columns and Rows Click the browser program button on the taskbar, then reload youth.htm Click the text editor program button on the taskbar to return to the youth.htm document code Locate the opening table data tag for the row 2 cell that contains the content $3.00, click after td in the tag, press [Spacebar], then type align="right" Repeat the previous step to align the text for all the other cells in the Cost column, then save your work and reload the youth.htm page in the browser

HTML, Third Edition--Illustrated Introductory 14 Spanning and Aligning Columns and Rows

HTML, Third Edition--Illustrated Introductory 15 Clues to Use Aligning tables and table contents  By default, all table contents are vertically centered  You can customize the horizontal alignment of a table and its contents using the align attribute  The valign attribute allows you to control the vertical alignment

HTML, Third Edition--Illustrated Introductory 16 Formatting Table Content Click the text editor program button on the taskbar to return to the youth.htm page code Click just after border="1" in the opening table tag, press [Spacebar], type cellpadding="5" cellspacing="5", then save your work Click the browser program button on the taskbar, then reload the youth.htm page

HTML, Third Edition--Illustrated Introductory 17 Formatting Table Content Find your paradise_style.css style sheet in your paradise\css folder, right-click your style sheet file name or icon, point to Open With on the shortcut menu, then click your text editor name Click just after } at the end of the body style rule, press [Enter] twice, then type the following code, pressing [Enter] after each line: td, th { line-height: 1em; color: #000033; } Save your style sheet, then reload your youth.htm page in your browser

HTML, Third Edition--Illustrated Introductory 18 Formatting Table Content

HTML, Third Edition--Illustrated Introductory 19 Clues to Use Using CSS with tables  CSS formatting allows you to set td and th style rules to specify attributes for table cells without applying those formatting commands to each cell individually

HTML, Third Edition--Illustrated Introductory 20 Formatting Borders Click the youth.htm text editor program button on the taskbar to open that instance of your text editor, click after cellspacing="5" in the opening table tag, press [Spacebar], then type bordercolor="#99CCFF" and save your file Click the browser program button on your taskbar, then reload your youth.htm file Click the youth.htm text editor program button on the taskbar, then click between bordercolor and the equal sign in the bordercolor attribute Type light so that the attribute reads bordercolorlight="#99CCFF"

HTML, Third Edition--Illustrated Introductory 21 Formatting Borders Click after the closing quotation mark in the bordercolorlight attribute, press [Spacebar], then type bordercolordark="#000033" Click just after the 1 in table border="1", press [Backspace], then type 2 Click just after the 5 and before the closing quotation mark in the cellspacing value, press [Backspace], type 2, then save your work Click the browser program button on the taskbar, then reload the youth.htm file in your browser

HTML, Third Edition--Illustrated Introductory 22 Formatting Borders

HTML, Third Edition--Illustrated Introductory 23 Table and Cell Border Attributes

HTML, Third Edition--Illustrated Introductory 24 Modifying Table Backgrounds Click the paradise_style.css instance of the text editor on the taskbar Click after } of the td, th style rule, press [Enter] twice, then type the following code, pressing [Enter] after each line: th { background-color: #6699CC; color: #336633; } Locate the nav1 class at the bottom of your style sheet, click after the } at the end of the style, press [Enter] twice, then type the following code, pressing [Enter] after each line:.notesrow { background-color: #CCCCFF; font-weight: 500; }

HTML, Third Edition--Illustrated Introductory 25 Modifying Table Backgrounds Save your work, return to your youth.htm code, then locate the table data cell with the content that begins This activity gives… Click just after colspan="5", press [Spacebar], then type class="notesrow" Repeat the previous step for the remaining rows to which colspan="5" has been applied Save your work, click the browser program button on the taskbar, then reload your youth.htm page

HTML, Third Edition--Illustrated Introductory 26 Modifying Table Backgrounds

HTML, Third Edition--Illustrated Introductory 27 Clues to Use Adding a background image to a table  Recent versions of most browser applications support the background attribute for the,, and tags.  Use CSS to set your background image  You cannot apply a background to a table row

HTML, Third Edition--Illustrated Introductory 28 Changing Table Dimensions With your youth.htm page open in your browser, click the Restore Down button in the upper-right corner of the browser, then, if necessary, drag the right browser border to the left until the page heading wraps to a second line Click the youth.htm instance of the text editor, click before under the opening body tag, type, then press [Enter] Type, click after, type, then save your work

HTML, Third Edition--Illustrated Introductory 29 Changing Table Dimensions Locate the opening heading tag for the Time column in the youth activities table, click just after th, press [Spacebar], then type nowrap width="125" Replace Your Name in the Modified by paragraph at the bottom of the page with your own name, update the date, save your work, then print your page code Click the browser program button on the taskbar, reload the page, then drag the right browser border to the right and to the left

HTML, Third Edition--Illustrated Introductory 30 Changing Table Dimensions

HTML, Third Edition--Illustrated Introductory 31 Positioning Page Elements Open the htm_F-3.txt file, then save it as contact.htm in your paradise site folder, replacing the original file Click before under the opening body tag, type, then press [Enter] Type, click after, type, then save your work Click before Reservations, type, press [Enter], type, press [Enter], then type Click before Reservations, type, press [Enter], type, press [Enter], then type Click before Paradise Garden Day Spa and Fitness Center, type, press [Enter], then type Click before Paradise Garden Day Spa and Fitness Center, type, press [Enter], then type

HTML, Third Edition--Illustrated Introductory 32 Positioning Page Elements Click after of the paragraph with the id “info”, type, press [Enter], type, press [Enter], then type Click after of the paragraph with the id “info”, type, press [Enter], type, press [Enter], then type Save your page, click the browser program button on the taskbar, then open your contact.htm page Return to the contact.htm file in your text editor, locate the table row tag above the table data tag containing the level- three heading text of Reservations, click just after tr inside the tag, press [Spacebar], then type valign="top" Click just after align="center" in the opening table tag of the same table, press [Spacebar], type cellpadding="10", update the “Page modified by” information, save your work, then reload it in the browser and print the Web page Close all files and programs, then transfer your files to your remote directory

HTML, Third Edition--Illustrated Introductory 33 Positioning Page Elements

HTML, Third Edition--Illustrated Introductory 34 U n i t S u m m a r y Plan a table Create a simple table Span and align columns and rows Format table content

HTML, Third Edition--Illustrated Introductory 35 U n i t S u m m a r y Format borders Modify table backgrounds Change table dimensions Position page elements