TABLES IN HTML No, not that kind of table!! THIS KIND!!

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter Six Tables.
Advertisements

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.
Tables Learn to create and enhance TABLES using a variety of attributes and formats.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Chapter 4 – Intermediate HTML 4 Outline 4.1 Unordered Lists 4.2 Nested and Ordered Lists 4.3 Basic HTML Tables 4.4 Intermediate HTML Tables and Formatting.
Tutorial 4: Designing a Web Page with Tables
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
1 HTML Tables. 2 Tables Tables can be a great help in overcoming HTML's vertical orientation. Even the most complex tables use just the following three.
Introducing Web Tables
Using HTML Tables.
Instructor: A. Burns 1 HTML Tables. Instructor: A. Burns 2 Tables Tables can be a great help in overcoming HTML's vertical orientation. Even the most.
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
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.
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
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.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
HTML Essentials Tables and Table Tags. Overview Use of Tables goes beyond tabulating data Frequently used to format Web pages / control layout Especially.
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.
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 5: Working with Tables.
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.
How to create tables in HTML…
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.
XHTML Tables. Tables create little boxes in which you can place things to keep them organized. The little boxes are called table cells. Tables are created.
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
>> Introduction to HTML: Tables. HTML is used to give websites structure 5 Basic Tags Element = Start-Tag+Content+End-Tag Heading Tags [h1-h6] Paragraph.
Creating Tables in a Web Site
1 Web Developer Foundations: Using XHTML Chapter 3 XHTML Hyperlinks and Tables.
Tables Module 2: HTML Basics LESSON Extension. Module 2: HTML Basics LESSON Extension Lesson Overview In this lesson, you will learn to:  Create tables.
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.
IS1824: Introduction to Internet Multimedia Lecture 5: Layout in HTML Rob Gleasure
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
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.
Kevin Murphy Introduction to Tables Masters Project CS 490.
ECA 228 Internet/Intranet Design I Tables. ECA 228 Internet/Intranet Design I Basic HTML Tables Created as a way to present rows and clumns of data.
Tables Web Authoring. This kind of a table THISIs aTABLE THISIs aTABLE THISIs aTABLE THISIs aTABLE.
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.
 2003 Prentice Hall, Inc. All rights reserved. Introduction to HTML: Tables Outline 1 Introduction 2 Basic HTML Tables 3 Intermediate HTML Tables and.
Tables lab5. Drawing a table Tables are the web designer’s best friend and worst enemy. To draw a table we will use:  tag  for raw  tags for column.
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.
How To Create HTML Tables. Table Structure General HTML code for a Web Table: table cells table cells.
Marquees and Tables. Tags Fun Stuff Here! Creates text that scrolls from right to left! Animated text. This is a great tag but does not work on every.
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.
Creating Tables in a Web Site HTML 4 Created by S. Cox.
REEM ALMOTIRI Information Technology Department Majmaah University.
Doing TABLES Creating Tables in HTML. Start creating the table by using the Table container tag.
Internet Applications Development Lecture 6 L. Obead Alhadreti.
Tutorial 5: Tables Session OBJECTIVES Create a table Insert a table summary Insert a table caption Add rows and cells Merge Cells inside a Table.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 5.
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.
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
CIS101 Introduction to Computing Week 07 Spring 2004.
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
>> HTML: Tables.
LAB Work 02 MBA 61062: E-Commerce
Introduction to HTML.
H T M L A B E S X P I N D.
Tables:.
Using HTML Tables SWBAT: - create tables using HTML
TABLES.
LESSON Extension Module 2: HTML Basics Tables.
TABLES IN HTML No, not that kind of table!! THIS KIND!!
H T M L A B E S X P I N D.
Site Development Foundations Lesson 6
Lesson 5: HTML Tables.
Presentation transcript:

TABLES IN HTML No, not that kind of table!! THIS KIND!!

Tables n Why use tables on a web page? –Easier to align data, even with a border of 0 –Organized and neat –Easy to read

To add a table n To do a table, you must have a beginning and ending table tag n

For example:

Table Borders n Add border=“n” if you wish to include a border around your table and its cells. n Even if you don’t want a border, you should still include the border tab at 0. Instead of use n Wait until you master tables before trying one without a border

Table Rows n Each row has a beginning and ending tag n

Cells / Columns n To make another column you create a separate cell with the tag (ending tag also ) <table border=“3” column 1 column 2 column 3

Heading Cells n If you want your columns to have labels or column headings, use the table heading tags n These will center and bold your headings in the middle of your columns Heading 1> Heading 2 Heading 3 U:\Lburgess\my web pages\my favorites.html

Changing Text Alignment in a Cell n You can change the text alignment to left, center or right. n And, you can change the text alignment to top, middle or bottom of the cell. n To do so, you add an alignment tag to your column tag n

What if you want links inside your table? n To create a table that looks like this one n And links to those web pages CBS Home PageWPHS Home Page n The tags would be as follows CBS Home Page  What would the WPHS Tag look like?

Let’s Review n To add a border to your table – n To create a table without a border – n To center text within a cell of a table – n To add space between the cell wall and the text –<table border=“1” cellpadding=“#” n To add space between cells –

Let’s Review n To create a heading for your columns – replaced on first row n To vertically align the the text in cells use valign – n To add a hyperlink inside the table as text – –Don’t forget to type in what text you want to show after that link reference Where you want to go to

Your Turn

Changing Row Span or Column Span n You can span more than one row or more than one column n <rowspan=“2” n <colspan=“2”

Designing a Table n You should absolutely draw your table on paper first to see what you want it to look like before creating your html document. n Once you draw your table on paper, then you will be able to see what type of tags you will need.