Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj

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

Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Internet Basics & Way Beyond!
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
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
Cos 125 Day 22. Agenda Assignment 6 Not corrected Waiting for tune-ins Assignment 7 is posted Assignment 7 Due April 2PM Left to do 1 Assignments.
Cos 125 Day 24. Agenda All students meeting 7 Pm Monday, April 19 UMS Strategic Plan Assignment #7 Posted Due April 20 Two (one?) more to go Quiz Four.
Introducing Web Tables
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.
Using HTML Tables.
1 Tables: Data in Rows and Columns – What is Table? – How Tables are Used? – Designing Tables – Table, Cell, Row Attributes – Using Tables for Alignment.
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.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
HTML Essentials Tables and Table Tags. Overview Use of Tables goes beyond tabulating data Frequently used to format Web pages / control layout Especially.
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.
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.
XP 1 Tutorial 4 Designing a Web Page with Tables.
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.
Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
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:
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.
Tutorial 5 Working with Tables and Columns
Tutorial 5 Working with Tables and Columns
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.
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.
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.
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything › Text › Lists › Other tables › Pictures › …
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.
 2003 Prentice Hall, Inc. All rights reserved. Introduction to HTML: Tables Outline 1 Introduction 2 Basic HTML Tables 3 Intermediate HTML Tables and.
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.
HTML Tables The HTML table model allows authors to arrange data - text, preformatted text, images, links, forms, form fields, other tables, etc. - into.
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.
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.
Tables creating a table within a web page. What makes up a table? Columns Rows.
Tables.  How tables are used  Basic table structure  Importance of headers  Spanning rows and columns  Cell padding and spacing  Accessibility.
1 Mansoor Ahmed Bughio. 2 HTML TABLES With HTML you can create tables. Examples Tables This example demonstrates how to create tables in an HTML document.
Designing a Web Page with Tables
Web Development & Design Foundations with HTML5
Introduction to HTML.
Working with Tables: Module A: Table Basics
>> HTML: Tables.
Web Development & Design Foundations with HTML5 8th Edition
HTML <table> tag syntax: <table> </table>
LAB Work 02 MBA 61062: E-Commerce
HTML Tables CS 1150 Spring 2017.
HTML Tables.
Tutorial 5 Working with Tables and Columns
Chapter 5 Introduction to XHTML: Part 2
Introduction to HTML.
New Perspectives on Creating Web Pages with HTML
Табеле Табеле се представљају елементом TABLE.
Chapter 8 Tables.
Using HTML Tables SWBAT: - create tables using HTML
TABLES.
For the World Wide Web Styling Tables with CSS
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with HTML5
Site Development Foundations Lesson 6
Principles of Web Design 5th Edition
Hypertext Markup Language Table 11th Lecture
Web Development & Design Foundations with HTML5
Basics of Web Design Chapter 9 Table Basics Key Concepts
Presentation transcript:

Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj TABLES IN HTML Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj

Table Tables are used in HTML documents (web pages) to present tabular data. The HTML table model allows authors to arrange data -- into rows and columns.

Tags for table <table> An HTML table is defined with the <table> tag. It contains start and end tag. <tr> Each table row is defined with the <tr> tag <td> A table data/cell is defined with the <td> tag.

Additional tags in html A more complex HTML table may also include <caption>, <col>, <colgroup>, <thead>, <tfoot>, and <tbody> elements. <th> A table header is defined with the <th> tag. <caption> It is used to set the title of a table.

Syntax

Example

ATTRIBUTES OF TABLE TAG "align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"

ALIGN ATTRIBUTE(table) The align attribute specifies the alignment of a table according to surrounding text. Syntax <table align="left|right|center"> VALUES are: Value Description Left Left-aligns the table Right Right-aligns the table Center Center-aligns the table

HTML <table> bgcolor Attribute The bgcolor attribute specifies a background color of a table. Syntax <table bgcolor="color_name">

HTML <table> border Attribute The border attribute specifies if a border should be displayed around the table cells or not. Syntax <table border="1|0"> Attribute Values Value Description 0 No borders around the table cells 1 Add borders around the table cells

HTML <table> cellpadding Attribute The cellpadding attribute specifies the space, in pixels, between the cell wall and the cell content. Syntax <table cellpadding="pixels"> Attribute Values Value Description Pixels The space between the cell wall and the cell content

HTML <table> cellspacing Attribute The cellspacing attribute specifies the space, in pixels, between cells. Syntax <table cellspacing="pixels"> Attribute Values Value Description Pixels The space between cells

HTML <table> frame Attribute The frame attribute specifies which parts of the outside table borders that should be visible. Syntax <table frame="value"> Attribute Values …….

… Attribute Values Value Description Void The outside borders are not shown Above The top outside border is shown Below The bottom outside border is shown Hsides The top and bottom outside borders are shown Vsides The left and right outside borders are shown Lhs The left outside border is shown Rhs The right outside border is shown Box The outside borders are shown on all four sides Border The outside borders are shown on all four sides

HTML <table> rules Attribute The rules attribute specifies which parts of the inside borders that should be visible. Syntax <table rules="value"> Attribute Values Value Description None No lines Groups Lines between row groups and column groups Rows Lines between rows Cols Lines between columns All Lines between rows and columns

HTML <table> width Attribute If the width attribute is not set, a table takes up the space it needs to display the table data. <table width="pixels|%"> Attribute Values Value Description Pixels Sets the width in pixels (example: width="50") % Sets the width in percent of the surrounding element (example: width="50%")

Creating rows The <tr> tag defines a row in an HTML table. A <tr> element contains one or more <th> or <td> elements.

Creating columns The <th> tag defines a header cell in an HTML table. An HTML table has two kinds of cells: Header cells - contains header information (created with the <th> element) Standard cells - contains data (created with the <td> element) The text in <th> elements are bold and centered by default. The text in <td> elements are regular and left-aligned by default.