Creating Tables in a Web Site

Slides:



Advertisements
Similar presentations
Creating Tables in a Web Site
Advertisements

Project 8 Creating Style Sheets.
Creating and Editing a Web Page Using Inline Styles
Using Advanced Cascading Style Sheets
Chapter 8 Creating Style Sheets.
Chapter 5 Creating an Image Map
Creating and Editing a Web Page
Creating a Form on a Web Page
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 7 Creating an Online Form.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t PowerPoint Web Feature Creating a Presentation on the Web Using PowerPoint.
Chapter 3 Tables and Page Layout
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.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
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.
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 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.
Dreamweaver CS4 Concepts and Techniques Chapter 5 Templates and Style Sheets.
HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit F Working with Tables.
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
Project 1: Creating a Dreamweaver Web Page and Local Site 1 Project Objectives Add a background image Open and close panels Display and describe the Property.
Creating and Editing a Web Page using HTML IMED1316.
Creating and Editing a Web Page Project 2. Project Objectives Project 2: Creating and Editing a Web Page 2 Identify elements of a Web page Start Notepad.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.
HTML, XHTML, and CSS Chapter 8 Adding Multimedia Content to Web Pages.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Project 2 Adding Web Pages, Links, and Images Dreamweaver MX 2004 Concepts and Techniques.
Creating Tables in a Web Site
Writing a JavaScript User-Defined Function  A function is JavaScript code written to perform certain tasks repeatedly  Built-in functions.
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
HTML Concepts and Techniques Fourth Edition Project 12 Creating and Using XML Documents.
Creating a Form on a Web Page
Windows Internet Explorer 7 Chapter 1 Introduction to Windows Internet Explorer.
1 Creating a Second Web Page This section shows you how to create the Huntington Beach Web site.
Dreamweaver CS4 Concepts and Techniques Chapter 2 Adding Web Pages, Links, and Images.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
1 Creating the Header Page The header frame always displays on the AHS Web site The image (screagle.gif) that will go in the header is contained on the.
HTML Comprehensive Concepts and Techniques Third Edition 2 nd Project Creating and Editing a Web Page.
HTML Concepts and Techniques Fourth Edition Project 5 Creating an Image Map.
Layers, Image Maps, and Navigation Bars
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.
Using Frames in a Web Site Project 6. Project Objectives Project 6: Using Frames in a Web Site 2 Define terms related to frames Describe the steps used.
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 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.
Creating and Editing a Web Page Using Inline Styles
1 Creating a Menu Bar on a Secondary Web Page  It is important for visitors to be able to move easily from one page to another  You will create a menu.
1 Your Web Page title body of Web page main heading H2 heading bulleted list paragraph.
Creating Web Pages with Links, Images, and Embedded Style Sheets
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Project 1 Creating a Dreamweaver Web Page and Local Site.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 12 Creating Console Applications, Understanding XML, and Creating Web Services.
CIS101 Introduction to Computing Week 07 Spring 2004.
Project 8 Creating Style Sheets.
Creating Tables in a Web Site Using an External Style Sheet
Using Frames in a Web Site
Creating Web Pages with Links, Images, and Formatted Text
Creating Tables in a Web Site
Project 5 Creating an Image Map.
Project 4 Creating an Image Map.
Creating and Editing a Web Page
DREAMWEAVER 8 Creating a Dreamweaver Web Page and Local Site.
Presentation transcript:

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

Project Objectives Define table elements Describe the steps used to plan, design, and code a table Create a borderless table to organize images Create a vertical menu bar with text links

Project Objectives Create a borderless table to organize text Create a horizontal menu bar with text links Create a table with borders Change the horizontal alignment of text

Project 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 Use the rowspan and colspan attributes

Starting Notepad Click the Start button on the taskbar Point to All Programs on the Start menu, point to Accessories on the All Programs submenu, and then click Notepad on the Accessories submenu If the Notepad window is not maximized, click the Maximize button on the Notepad title bar to maximize it Click Format on the menu bar and, if necessary, click Word Wrap to turn Word Wrap on

Entering the HTML Tags to Define the Web Page Structure

Creating a Borderless Table to Position Images If necessary, click line 10 Type <table border="0" cols="2“ width="90%"> and then press the ENTER key

Creating a Borderless Table to Position Images

Inserting Images in a Table If necessary, click line 11, type <tr> as the tag, and then press the ENTER key Type <td><img src=“bellvideologo.gif” width=“430” height=“74” alt=“Bell Video Logo” /></td> and then press the ENTER key Type <td><img src="csexcellence.gif" width="108” height=”94” alt=”Excellence Award” /></td> and then press the ENTER key Type </tr> and then press the ENTER key Type </table> and then press the ENTER key

Creating a Vertical Menu Bar with Text Links If necessary, click line 17 Enter the HTML code shown below Press the ENTER key twice

Creating a Vertical Menu Bar with Text Links

Adding Text to a Table Cell If necessary, click line 27 Enter the HTML code as shown in Table 4-5 on page HTM 151 and then press the ENTER key

Adding Text to a Table Cell

Saving and Printing the HTML File With a floppy disk in drive A, click File on the menu bar and then click Save As. Type bellvideohome.htm in the File name text box If necessary, click 31⁄2 Floppy (A:) in the Save in list. Click the Project04 folder and then click the Project Files folder in the list of available folders. Click the Save button in the Save As dialog box Click File on the menu bar and then click Print on the File menu

Viewing and Printing a Web Page

Copying and Pasting HTML Code to a New File Click the Notepad button on the taskbar Click immediately to the left of the < in the <!DOCTYPE html tag on line 1. Drag through the first </table> tag on line 15 to highlight lines 1 through 15 Press CTRL+C to copy the selected lines to the Clipboard Click File on the menu bar and then click New Press CTRL+V to paste the contents from the Clipboard into a new file

Copying and Pasting HTML Code to a New File

Changing the Title Highlight the words, — Great Service, Great Selection, between the <title> and </ title > tags on line 7. Type - New Releases as the text Click immediately to the right of the </table> tag on line 15. Press the ENTER key three times Type </body> and then press the ENTER key Type </html> as the end tag

Changing the Title

Deleting an Image Highlight line 13, which contains the code to insert the image, csexcellence.gif Press the DELETE key twice

Deleting an Image

Creating a Horizontal Menu Bar with Text Links If necessary, click line 16 Enter the HTML code as shown in Table 4-6 on page HTM 159 Press the ENTER key twice

Creating a Horizontal Menu Bar with Text Links

Creating a Table with Borders and Inserting Text If necessary, click line 28 Enter the HTML code as shown in Table 4-7 on page HTM 162 Press the ENTER key twice

Creating a Table with Borders and Inserting Text

Creating Additional Cells and Inserting Text If necessary, click line 53 Enter the HTML code as shown in Table 4-8 on page HTM 164

Creating Additional Cells and Inserting Text

Saving and Printing an HTML File With a floppy disk in drive A, click File on the menu bar and then click Save As. Type newreleases.htm in the File name text box If necessary, click 3½ Floppy (A:) in the Save in list. Click the Project04 folder and then click the ProjectFiles folder in the list of available folders. Click the Save button in the Save As dialog box Click File on the menu bar and then click Print on the file menu

Viewing and Printing the Web Page Using the Browser

Opening an HTML File Click the Notepad button on the taskbar With the HTML Data Disk in drive A, click File on the menu bar and then click Open on the File menu If necessary, click the Look in box arrow and then click 31⁄2 Floppy (A:). Click the Project04 folder and then click the Project Files folder in the list of available folders If necessary, click the Files of type box arrow and then click All Files Click actor.htm in the list of files and then click the Open button in the Open dialog box

Opening an HTML File

Adding Cellspacing and Cellpadding to a Table Click immediately to the right of the 5 in border=“5” in line 28 and then press the SPACEBAR Type cellpadding=“2” cellpadding=“5” as the attributes

Adding Cellspacing and Cellpadding to a Table

Adding a Table Caption Highlight the text <!--Insert caption here --> on line 69 Type <caption align=“bottom”><em>Listing of movies by actor</em></caption> as the tag

Adding a Table Caption

Saving and Printing the HTML File and Viewing and Printing the Web Page With the floppy disk in drive A, click File on the menu bar and then click Save Click File on the menu bar and then click Print Click the Internet Explorer button on the taskbar Click the Refresh button on the Standard Buttons toolbar Click the Print button on the Standard Buttons toolbar

Saving and Printing the HTML File and Viewing and Printing the Web Page

Opening an HTML File Click the Notepad button on the taskbar With the HTML Data Disk in drive A, click File on the menu bar and then click Open on the File menu If necessary, click the Look in box arrow and then click 3½ Floppy (A:). Click the Project04 folder and then click the ProjectFiles folder in the list of available folders If necessary, click the Files of type box arrow, click All Files, and then double-click type.htm in the list of files.

Spanning the Main Heading across All Columns Highlight the <!—Insert Movies by Type colspan here --> text on line 29. Type <tr> and then press the ENTER key Type <th colspan="3" bgcolor="lightsteelblue"> and then press the ENTER key Type <font color="#993366“ face="chaucer“ size="+2">Movies by Type</font> and then press the ENTER key Type </th> and then press the ENTER key Type </tr> as the end table row tag

Spanning the Main Heading across All Columns

Creating Headings that Span Rows and Columns Highlight <!--Insert Action rowspan here --> text on line 34 Enter the HTML code as shown in Table 4-9 on page HTM 179

Creating Headings that Span Rows and Columns

Creating the Second Heading that Spans Rows Highlight the <!--Insert Comedy rowspan here --> text on line 66 and then press the DELETE key Type <tr> and then press the ENTER key Type <th rowspan="4" bgcolor="#336699"> and then press the ENTER key Type <font color="#ffffff“ size="+1">Comedy</font> and then press the ENTER key Type </th> as the tag

Creating the Second Heading that Spans Rows

Creating the Second Heading that Spans Columns Highlight the <!--Insert Title - Actor(s) colspan here --> text on line 70 Type <th colspan="2" bgcolor="thistle"> and then press the ENTER key Type <font color="#336699" size="+1">Title - Actor(s)</font> and then press the ENTER key Type </th> and then press the ENTER key Type </tr> and then press the ENTER key

Creating the Second Heading that Spans Columns

Saving and Printing the HTML File and Viewing and Printing the Web Page With the HTML Data Disk in drive A, click File on the menu bar and then click Save Click File on the menu bar and then click Print Click the Internet Explorer button on the taskbar Click the Refresh button on the Standard Buttons toolbar Click the Print button on the Standard Buttons toolbar

Saving and Printing the HTML File and Viewing and Printing the Web Page

Project Summary Define table elements Describe the steps used to plan, design, and code a table Create a borderless table to organize images Create a vertical menu bar with text links

Project Summary Create a borderless table to organize text Create a horizontal menu bar with text links Create a table with borders Change the horizontal alignment of text

Project 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 Use the rowspan and colspan attributes

Project 4 Complete