1 Web Developer & Design Foundations with XHTML Chapter 3 Key Concepts.

Slides:



Advertisements
Similar presentations
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Advertisements

Using HTML Tables Presenting Information & Layout Control.
Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based Web page using HTML.
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
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Color Templates Software Engineering Module: Web UI Programming Topic: HTML TALENTSPRINT | © Copyright 2012.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with XHTML
Chapter 2 HTML Basics Key Concepts
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 8 Key Concepts.
16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
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.
1 XHTML continued Use the anchor tag to link from page to pageUse the anchor tag to link from page to page Create absolute and relative linksCreate absolute.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
1 XHTML Tables A table is a matrix of cells, for displaying content in rows and columns The cells can include almost any element Some cells display row.
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.
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 Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
1 Web Developer & Design Foundations with XHTML Chapter 5 Key Concepts.
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
1 Web Developer Foundations: Using XHTML Chapter 3 XHTML Hyperlinks and Tables.
Web Development & Design Foundations with XHTML Chapter 8 Key Concepts.
Jozef Goetz, © Pearson Education Copyright (c) 2006 Prentice-Hall. All rights reserved.
Chapter 9 Table Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Web Development & Design Foundations with XHTML Chapter 8 Key Concepts.
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
Tables 23 rd February. What XHTML have we done so far? Hyperlinks & anchors - XHTML supports 3 types of lists:  Ordered – +  Unordered – +  Definition.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
A table is a rectangular arrangement of rows and columns on your screen A table is used to organize data into rows and columns and also increasingly.
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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
1 Review of HTML Elements. 2 The tag These tags are marked as comments in HTML. Any text between these two comment tags will.
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
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.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 5 Creating Page Templates. Principles of Web Design 2nd Ed. Chapter 5 2 Principles of Web Design Chapter 5 Objectives Understand table basics.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Jozef Goetz, © Pearson Education Copyright (c) 2006 Prentice-Hall. All rights reserved.
LINKING WEBPAGES USING HTML HYPERLINKS. Hyperlinks are text strings or images on a webpage which when clicked on, links to another section in the same.
Chapter 9 Table Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
CIS101 Introduction to Computing Week 07 Spring 2004.
Web Development & Design Foundations with HTML5
Working with Tables: Module A: Table Basics
Web Development & Design Foundations with HTML5 8th Edition
Chapter 5 Introduction to XHTML: Part 2
Lesson 8 Building Tables.
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with HTML5
Site Development Foundations Lesson 6
Lesson 5: HTML Tables.
Web Development & Design Foundations with HTML5
Basics of Web Design Chapter 9 Table Basics Key Concepts
Presentation transcript:

1 Web Developer & Design Foundations with XHTML Chapter 3 Key Concepts

© 2007 Pearson Education 2 Learning Outcomes In this chapter, you will learn about: –Use the anchor tag to link from page to page –Create absolute and relative links –Create a link which opens a new browser window –Create links internal to the same page –Create links –Create a table on a web page –Use attributes to format tables, table rows, and table cells –Use a table to format an entire web page

© 2007 Pearson Education 3 XHTML tag The anchor tag Used to specify a hyperlink reference (href) to a web page you want to display. The text between the and is displayed on the web page href Attribute –used to indicate the document to link to

© 2007 Pearson Education 4 XHTML tag Absolute link Yahoo Relative link Home

© 2007 Pearson Education 5 More on Relative Linking Contact Collars Home Dog Bathing Relative links from the home page: index.htm

© 2007 Pearson Education 6 Opening a Link in a New Browser Window The target attribute can be used on the anchor tag to open a link in a new browser window. Yahoo!

© 2007 Pearson Education 7 XHTML Internal Links using the tag A link to a part of a web page Also called bookmarks, named fragments, named anchors Two components: 1. The anchor tag that identifies a bookmark or named fragment of a web page. This requires two attributes: the id attribute and the name attribute. 2. The anchor tag that links to the bookmark or named fragment of a web page. This uses the href attribute. Back to Top

© 2007 Pearson Education 8 XHTML Links using the tag An link will automatically launch the default mail program configured for the browser.

© 2007 Pearson Education 9 Checkpoint Describe when to use an absolute link. Is the http protocol used in the href value? 2. Describe when to use a relative link. Is the http protocol used in the href value? 3. What happens when a web site visitor clicks on an link?

© 2007 Pearson Education 10 XHTML Using Tables An XHTML table is composed of rows and columns -- similar to a spreadsheet. Each individual table cell is at the intersection of a specific row and column. tag Contains the table Common attributes: border, width, align tag Contains a table row tag Contains a table cell

© 2007 Pearson Education 11 XHTML Table Example Name Birthday James 11/08 Karen 4/17 Sparky 11/28

© 2007 Pearson Education 12 XHTML Table Example 2 Name Birthday James 11/08 Karen 4/17 Sparky 11/28 Using the tag

© 2007 Pearson Education 13 XHTML Common Table Attributes align Use instead to center tables (see text) border bordercolor width –Percentage or pixels? bgcolor summary title

© 2007 Pearson Education 14 XHTML Common Table Cell Attributes bgcolor align colspan rowspan valign width

© 2007 Pearson Education 15 XHTML colspan Attribute Birthday List James 11/08 Karen 4/17

© 2007 Pearson Education 16 XHTML rowspan Attribute James 11/08

© 2007 Pearson Education 17 Checkpoint Describe two reasons to use tables on a web page. 2. Describe the difference between the cellpadding and cellspacing table attributes. 3. Describe the method preferred by the W3C to align a table on a web page.

© 2007 Pearson Education 18 XHTML– Using a Table to Format a Web Page This is the banner area Place Navigation here Page content goes here

© 2007 Pearson Education 19 Additional Table Layouts

© 2007 Pearson Education 20 Flexible & Fixed Table Widths Fixed Table: –Table width attribute in pixels – Flexible Table: –Table width attribute in percent –

© 2007 Pearson Education 21 Nested Tables Outer table used to configure page layout Inner table used to organize some information on the page

© 2007 Pearson Education 22 Checkpoint Describe a reason to use a percentage width for a table that configures a web page layout. Provide an example of a page that uses this technique. 2. Describe a reason to use a fixed pixel width for a table that configures a web page layout. Provide an example of a page that uses this technique. 3. True or False. Tables can be nested within other tables.

© 2007 Pearson Education 23 Summary This chapter introduced the XHTML techniques used to create hyperlinks and tables. You will use these skills over and over again as you create Web pages.