1 Chapter 04: Working with Table By Tharith Sriv.

Slides:



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

HTML TABLES EXPLAINED. What is a TABLE? The HTML table allows web designers to arrange & organize data -- text, images, hyperlinks, forms, form fields,
Tables in HTML Web Design Fairport High School Technology Department Instructor: Gianni Bussani.
Internet Basics & Way Beyond!
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
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.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 4: Designing a Web Page with Tables.
XP 1 Designing a Web Page with Tables Tutorial 4 Creating a News Page.
Creating a Web Page with Tables. Objectives Create a text table with preformatted text Create the basic structure of a graphical table Organize table.
HTML TABLES Cyndi Hageman. Tables   Attributes Name or id – used to identify the table Border = set this to determine if there is a border and the size.
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.
Computer Science 1611 Internet & Web Creating Webpages with Style Hypertext and the HTML Markup Language (continued)
Using HTML Tables.
HTML Code. What we will cover Basic HTML Body Font Images Hyperlinks Tables Frames.
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.
What is a TABLE? The HTML table allows web designers to arrange & organize data -- text, images, hyperlinks, forms, form fields, other tables, etc. Tables.
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.
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.
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.
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
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.
>> 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.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
CNIT 132 – Week 7 HTML - Tables. Tables on the World Wide Web A table can be displayed on a Web page either in a text or graphical format. A text table:
1 Web Developer Foundations: Using XHTML Chapter 3 XHTML Hyperlinks and Tables.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
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.
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
HTML (Hypertext Markup Language) – Class 3 Recap: HTML Special Characters (ex: ©). Including Images – using the tag. Lists – Ordered and Unordered.
HTML: Tables & Frames Internet Technology.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
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.
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.
Tables in HTML. Table Tag HTML tables always begin and end with a table tag. Syntax:
Lesson 7. Tables Table Tags and Attributes Tables HTML tables are used in two main ways: 1.To organize tabular data in a familiar spreadsheet-like way.
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.
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 CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
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.
1 3/30/05CS120 The Information Era CS120 The Information Era Chapter 4 – More HTML Specifics TOPICS: Frames Problem Review, Nested Frames.
Internet Applications Development Lecture 6 L. Obead Alhadreti.
TABLES IN HTML No, not that kind of table!! THIS KIND!!
CIS101 Introduction to Computing Week 07 Spring 2004.
>> 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.
Using HTML Tables SWBAT: - create tables using HTML
TABLES.
HTML Tables & Frames Internet Technology.
H T M L A B E S X P I N D.
Lesson 5: HTML Tables.
H T M L A B E S X P I N D.
HTML Tables & Frames Internet Technology.
Presentation transcript:

1 Chapter 04: Working with Table By Tharith Sriv

What is a Table? N Name (kh) Name (En)Tel: Other Table 1: Name of Cambodian Students (sample)

What is a Table (cont.)? Table is used to specify a container for a table within your document. Inside these tags you can place,,,, and other tags. Table can be used in HTML for text alignment. Sample : Pine trees naturally grow at higher elevations.

What is a Table (cont.)? With the followings, Internet Explorer will display what is in next slide (if you have a picture “pine.jpg” located in the same folder with your HTML-file):

What is a Table (cont.)?

Table Attributes ALIGN={LEFT, CENTER, RIGHT} Positions the table flush left, flush right, or in the center of the window. BACKGROUND=“URL” Specifies the relative or absolute location of a graphic image file loaded as a background image for the entire table.

Table Attributes BGCOLOR=“#RRGGBB” or “...” Specifies the background color within all table cells in the table. You can substitute color names for the hexadecimal RGB values. BORDER=“n” Specifies the thickness (in pixels) of borders around each table cell. Use a value of 0 to produce a table with no visible borders.

Table Attributes BORDERCOLOR=“#RRGGBB” or “...” Specifies the color of the borders of all the table cells in the table. You can substitute color names for the hexadecimal RGB values. BORDERCOLORDARK=“#RRGGBB” or “...” Specifies the darker color used to draw 3-D borders around the table cells. You can substitute color names for the hexadecimal RGB values.

Table Attributes BORDERCOLORLIGHT=“#RRGGBB” or “...” Specifies the lighter color used to draw 3-D borders around the table cells. You can substitute color names for the hexadecimal RGB values. CELLPADDING=“n” Specifies the space (in pixels) between the edges of table cells and their contents. Sample:

Table Attributes CELLSPACING=“n” Specifies the space (in pixels) between the borders of table cells and the borders of adjacent cells. Sample: COLS=“n” Specifies the number of columns in the table. Sample:

Table Attributes WIDTH=“n” Specifies the width of the table. You can set this value to an absolute number of pixels or to a percentage amount so that the table is proportionally as wide as the available space. Sample: HEIGHT = “n” Specifies the height of the table. Sample:

The Tag Inside the Table Tag Defines the table body within a table. This tag must follow the tag. Sample:

… & … Tags … Table Row … Table Cell /Table Data (goes inside ) There is also what’s called … which is used to make the text in bold and center aligned. When you write:

… & … Tags With what are in previous slide, Netscape displays:

Attributes: COLSPAN and ROWSPAN You can enjoy with COLSPAN and ROWSPAN. The followings are for you to test:

Table Attributes Firefox will display the following:

Assignment! Write a webpage to display the following in your web browser: