XHTML Tables. Tables: Allow us to display information on the page in a uniform fashion. Work well for organizing groups of words, images, and links. Are.

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

Web Page Design Using Tables Here you see three examples of how tables can be used to organize your content. We call this page layout or design. You can.
Designing Web Pages Tables part one. Using Tables for Page Layout 2.
Tutorial 5 Working with Web Tables
Internet Basics & Way Beyond!
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
Introducing Web Tables
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Using HTML Tables.
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.
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.
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.
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.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
Chapter 5 Creating Page Templates
CO1552 – Web Application Development Lists, Special Characters, and Tables.
XP Using Frames in a Web Site Ali Alfayly. XP Tutorial Objectives Create frames for a Web site Control the appearance and placement of frames Control.
Actual Building the Pages Tables. Using Table Elements  To build effective page templates, you must be familiar with the HTML table elements and attributes.
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
10/4/2015Tables1 Spring, 2008 Modified by Linda Kenney 4/2/08.
1 Web Developer Foundations: Using XHTML Chapter 3 XHTML Hyperlinks and Tables.
Web Development & Design Foundations with XHTML Chapter 8 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 3 Key Concepts.
HTML 58.51A Tables!. Why Tables? n Complete control of you web page layout. n Basically, you can place the content you want, where you want it, with little.
Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.
Tutorial 5 Working with Tables and Columns
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
Tutorial 5 Working with Tables and Columns
Html Tables Basic Table Markup. How Tables are Used For Data Display Tables were originally designed to display and organize tabular data (charts, statistics,
1 Planning and Laying Out Frames Sketch the frame structure on paper before writing the HTML code two rows two columns.
HTML: Tables & Frames Internet Technology.
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
Kevin Murphy Introduction to Tables Masters Project CS 490.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
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.
1 Tables attributes. 2 Table attributes: border Activates border around cells Syntax: – where “n” is a value in pixels which controls the “thickness”
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.
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
Chapter 5 Creating Page Templates. Principles of Web Design 2nd Ed. Chapter 5 2 Principles of Web Design Chapter 5 Objectives Understand table basics.
Using Tables for Layout INP150 Session #8. Layout Map out your page Design with paper and pencil Determine number of rows and columns you need Determine.
HTML Frames. Advantages to Using Frames n flexibility in design n information in different Web pages n remove redundancy. n site easier to manage. n update.
Assistant Professor,UCER Naini,Allahabad
Web Page Tables GMU-Teaching with Technology. Table Characteristics: Looks like a news page Contains columns and rows.
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.
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. Session Checklist ► Learn the ways that tables can help you organize data on your Web site ► Learn how to prepare a spreadsheet-like table that.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Tutorial 5 Working with Web Tables
XHTML Tables.
CNIT 131 HTML5 - Tables.
>> HTML: Tables.
Tutorial 5 Working with Tables and Columns
Tutorial 5 Working with Web Tables
XHTML Tables.
Basic Tables.
Basic Tables.
Basic Tables.
Lesson 5: HTML Tables.
XHTML Tables.
Presentation transcript:

XHTML Tables

Tables: Allow us to display information on the page in a uniform fashion. Work well for organizing groups of words, images, and links. Are not to be used for layout of an entire web page, only some data within the page.

Tables Row

Tables Column

Tables 3 Rows 2 Columns

Adding a Table: The value of the width attribute determines how wide the table will be in pixels. A percentage of the screen can be specified instead, but the resulting table would then look different to different viewers, depending on how wide their screens are.

Specifying the Border: The value of the border attribute determines how thick the lines around the table cells will be, as measured in pixels. If this attribute is not specified, no lines will show in the table.

Adding Rows: The tag adds a table row. If nothing more is defined inside the tags, the row will take up the entire column.

Setting Cells and Columns: The ("table data") tag identifies an individual cell of a table. The available space will be evenly divided between the number of cells specified. In this example, we have created two columns in the first row.

Completing the Table: Here we have specified the cells for the second and third row. We now have a uniform table consisting of two columns and three rows.

Adding Text to the Table: State Capital Arizona Phoenix Georgia Atlanta StateCapital ArizonaPhoenix GeorgiaAtlanta

Adding Table Headers: State Capital Arizona Phoenix Georgia Atlanta StateCapital ArizonaPhoenix GeorgiaAtlanta By using ("table header") tags in the first row instead of, you are defining these cells as special headings in the table. The web browser will then know to treat them differently.

Table Syntax: State Capital Arizona Phoenix Georgia Atlanta StateCapital ArizonaPhoenix GeorgiaAtlanta Make sure there is a closing tag for each opening tag and be careful to nest the elements properly.