CIS234A Lecture 9 Instructor Greg D’Andrea. Working with Table's Column Groups We've formatted the content of the table columns by modifying the attributes.

Slides:



Advertisements
Similar presentations
Table, List, Blocks, Inline Style
Advertisements

INTRODUCTORY Tutorial 8 Creating Data Tables. XP Objectives Contrast data tables with layout tables Create a table to display and organize data Provide.
TABLES 6 How to create tables What information suits tables How to represent complex data in tables.
Internet Basics & Way Beyond!
HTML popo.
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
 2001 Prentice Hall, Inc. All rights reserved. Outline 1 Table1.html 1 2
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.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 4: Tables and Frames.
Creating a Web Page with Tables. Objectives Create a text table with preformatted text Create the basic structure of a graphical table Organize table.
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.
4.01 Cascading Style Sheets
HTML CODING Text output is black and white text that opens in NOTE pad. These files can be saved and used in other programs.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
W EB S ITE L ECTURE C ASCADING S TYLE S HEETS. Cascading Style Sheets (CSS) Introduction CSS Objectives – Provide more control over web site content presentation.
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.
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.
CIS 1310 – HTML & CSS 8 Tables. CIS 1310 – HTML & CSS Learning Outcomes  Create a Table  Apply Attributes to Format Tables  Increase the Accessibility.
Lesson 6. Links in HTML Computer Science Welcome to Virtual University in Pakistanhttp://
XP 1 Tutorial 4 Designing a Web Page 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.
HTML Comprehensive Concepts and Techniques Second Edition Creating Tables in a Web Site October 23, 2012.
MORE HTML REMEMBER TO SEARCH W3 SCHOOLS FOR MORE INFO.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit F Working with Tables.
INTRODUCTORY Tutorial 7 Creating Tables. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Discern the difference between data tables and.
Principles of Web Design 6 th Edition Chapter 10 – Data Tables.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
1 Basic HTML. 2 Part 1: Basic Web Page Production.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
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.
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 TECH1001 Lecture 6 Electronic Publishing and Production 1 More About Tables.
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.
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.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
 2003 Prentice Hall, Inc. All rights reserved. Introduction to HTML: Tables Outline 1 Introduction 2 Basic HTML Tables 3 Intermediate HTML Tables and.
CS-3432 Electronic Commerce Lecture – 7 Sikandar Shujah Toor
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.
Colors & Fonts Building a Website Lesson 7. Font Font The tag specifies the font face, font size, and color of text. The tag can have any or all of these.
HTML.
26 HTML Tables … surround table … surround each row … surround each cell … like, but bold and centered by default (for table headings) … table title No.
Cascading Style Sheets I Embedded Style Sheets. Page Design ICSS 2Instructor: Sean Griffin What is a Style Sheet? A style sheet is a text file that contains.
Assignment 3 Your going to modify your last Best Movies page and Recipe page Your going to modify your last Best Movies page and Recipe page You will need.
Creating Tables in a Web Site HTML 4 Created by S. Cox.
1 3/30/05CS120 The Information Era CS120 The Information Era Chapter 4 – More HTML Specifics TOPICS: Frames Problem Review, Nested Frames.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
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.
CSS DHS Web Design. Location Between the & Start with – End with –
HTML LAYOUTS. CONTENTS Layouts Example Layout Using Element Example Using Table Example Output Summary Exercise.
Designing a Web Page with Tables
CNIT 131 HTML5 - Tables.
Website Development & Management
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
>> Introduction to CSS
LAB Work 02 MBA 61062: E-Commerce
HTML Tables CS 1150 Spring 2017.
Chapter 7 Tables.
Using HTML Tables SWBAT: - create tables using HTML
Web Design and Development
Usually use background-color:
HTML Tables.
Using tables in HTML Goes in order with Examples at my site.
Site Development Foundations Lesson 6
Principles of Web Design 5th Edition
Presentation transcript:

CIS234A Lecture 9 Instructor Greg D’Andrea

Working with Table's Column Groups We've formatted the content of the table columns by modifying the attributes of individual cells within a column. We can also organize the columns into column groups and format one or more columns with a single style declaration or attribute. The element is used to define a column group. The element can be expressed either as a one-sided element or a two-sided element.

Working with Table’s Column Groups One-sided tag To define a column group, insert the following element into the table structure: – where value is the number of columns in the groups.

One-sided tag Placement of the tag: The colgroup element should be directly after the opening tag. However, for a table that includes a caption, it should be placed directly after the tag.

One-sided tag Here is an example of how to organize a table with five columns into two column groups: one group for the first 2 columns and one group for the last 3 columns: – (Note: the above lines must be placed directly after the or tag)

One-sided tag If you want display the first two columns with a white background and the last three with a yellow background, the HTML code would be:

Two-sided tag The colgroup element can also be expressed as a two-sided element. The following HTML code demonstrates how it's used:

Two-sided tag Essentially the previous code creates a column group of three columns with as a white background. Within this column group, the first column uses black as the text color; the second column has red text; and the third column has blue text.

Two-sided tag The syntax for the two-sided tag is: …. – where the one-sided tag is used to define one or more single columns within the column group.

Two-sided tag The element can also be used along with the span attribute to format several columns with a group. Here is an example:

Two-sided tag In the previous case, the column group consists of five columns: the first two columns contain black text, the third column contains red text and the last two columns contain blue text.

Quiz Time Quiz Next Friday Elements: – html, head, title, body, pre, table, tr, th, td, caption Attributes: – style: background-color, color – colspan,rowspan – border,cellspacing,cellpadding,width (in table) – align (in caption)