Tutorial 5. Working with Web Tables

Similar documents
New Perspectives on Creating Web Pages with HTML. Considerations for Text and Graphical Tables. A Graphical Table. Using Fixed-Width Fonts

CHAPTER 10. When you complete this chapter, you will be able to:

HTML Tables. IT 3203 Introduction to Web Development

Web Design I. Spring 2009 Kevin Cole Gallaudet University

This document will describe how you can create your own, fully responsive. drag and drop template to use in the creator.

LaGuardia Community College Thomson Ave, Long Island City, New York Created by ISMD s Dept. Training Team. Overview

In this chapter, you will learn how to...

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Lesson Review Answers

Garfield Public Schools Fine & Practical Arts Curriculum Web Design

Introduction to Web Design Curriculum Sample

Web Developer Jr - Newbie Course

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS ( )

HTML Lesson 7. Your assignment:

Creating Web Pages with Microsoft FrontPage

Introduction to XHTML. 2010, Robert K. Moniot 1

BLACKBOARD 9.1: Text Editor

Using Adobe Dreamweaver CS4 (10.0)

WYSIWYG Editor in Detail

Web Design & Development - Tutorial 04

Using Style Sheets for Consistency

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Coding HTML Tips, Tricks and Best Practices

Drupal Training Guide

Creating Web Pages with HTML Simplified. 3rd Edition

Tips and tricks with Text boxes in Mahara

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

ADOBE DREAMWEAVER CS3 TUTORIAL

Informz for Mobile Devices: Making Your s PDA and Phone-Friendly

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

Umbraco v4 Editors Manual

Style & Layout in the web: CSS and Bootstrap

Web Development 1 A4 Project Description Web Architecture

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

Creative Guidelines for s

BlueHornet Whitepaper

Outline of CSS: Cascading Style Sheets

Working with the new enudge responsive styles

Introduction to Adobe Dreamweaver CC

HTML & XHTML Tag Quick Reference

Designing HTML s for Use in the Advanced Editor

IAS Web Development using Dreamweaver CS4

CS412 Interactive Lab Creating a Simple Web Form

Microsoft FrontPage 2003

Dreamweaver. Links and Tables

Create Charts in Excel

ECDL / ICDL Spreadsheets Syllabus Version 5.0

Create Your own Company s Design Theme

Creating Web Pages with Dreamweaver CS 6 and CSS

HTML TIPS FOR DESIGNING

Fast track to HTML & CSS 101 (Web Design)

How to Properly Compose HTML Code : 1

Campaign Guidelines and Best Practices

Web Page Design (Master)

ICE: HTML, CSS, and Validation

Fundamentals of Web Design (One Semester)

Working with Spreadsheets

Joomla Article Advanced Topics: Table Layouts

Dreamweaver CS3 THE MISSING MANUAL. David Sawyer McFarland. POGUE PRESS" O'REILLY 8 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

SellerDeck 2014 Responsive Design Guide

<Insert Picture Here>

Adobe Dreamweaver CC 14 Tutorial

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

Tagging an Existing PDF in Adobe Acrobat 8

Caldes CM12: Content Management Software Introduction v1.9

Web Design and Development ACS Chapter 9. Page Structure

Principles of Web Design 6 th Edition. Chapter 12 Responsive Web Design

Website Planning Checklist

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

Intro to Web Design. ACM UIUC

Chapter 1: Outlook Isn t Going Anywhere Chapter 2: 17 Must-Know Tricks for Outlook 2007, 2010 &

Excel 2007 Tutorials - Video File Attributes

Excel 2007: Basics Learning Guide

Using an external style sheet with Dreamweaver (CS6)

Quick Reference Guide

Stylesheet or in-line CSS CSS attributes, used in stylesheets or in-line, can define:

Excel Unit 4. Data files needed to complete these exercises will be found on the S: drive>410>student>computer Technology>Excel>Unit 4

Atable is an orderly arrangement of data distributed across a grid of rows and

Mastering the JangoMail EditLive HTML Editor

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

HTML Forms and CONTROLS

KOMPOZER Web Design Software

The Essential Guide to HTML Design

QUESTION BANK COMPUTER SCIENCE. Class VIII LESSON-1 INTRODUCTION TO MS ACCESS

Fairsail PDF Template Generator: A Complete Guide

Excel 2003 Tutorials - Video File Attributes

CREATING EXCEL PIVOT TABLES AND PIVOT CHARTS FOR LIBRARY QUESTIONNAIRE RESULTS

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

Recreate your Newsletter Content and Layout within Informz (Workshop) Monica Capogna and Dan Reade. Exercise: Creating two types of Story Layouts

Dreamweaver Domain 2: Planning Site Design and Page Layout

Adobe Illustrator CS6. Illustrating Innovative Web Design

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

Converting Prospects to Purchasers.

Learning Web Design. Third Edition. A Beginner's Guide to (X)HTML, Style Sheets, and Web Graphics. Jennifer Niederst Robbins

MS Word 2007 practical notes

Create a Web Page with Dreamweaver

Transcription:

Tutorial 5 Working with Web Tables

Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple rows and columns Create row and column groups Add a caption and a summary to a table Format a table using HTML attributes

Objectives Format a table using CSS styles Collapse table borders Display page elements in tabular form Create a jigsaw layout Explore the use of tables for page layout Create rounded borders

Introducing Web Tables Each table in a Web page follows a basic structure consisting of the table element and a collection of table rows nested in the table element <table> <tr> table cells </tr> <tr> table cells </tr>... </table>

Introducing Web Tables Table headings, the cells that identify the contents of a row or column, are marked using a <th> tag Data cells are marked with the <td> tag and are used for any content that is not considered a heading

Introducing Web Tables

Introducing Web Tables To add a border to a Web table using HTML, use the border attribute <table border="value">... </table> where value is the size of the border in pixels

Spanning Rows and Columns A spanning cell is a single cell that occupies more than one row or one column in the table To create a table cell that spans several columns, add the attribute colspan="value" to the cell, where value is the number of columns covered by the cell To create a table cell that spans several rows, add the attribute rowspan="value" to the cell, where value is the number of rows covered by the cell

Creating a Table Caption To create a table caption, add the caption element directly below the opening <table> tag with the syntax <caption>content</caption> where content is the content of the table caption

Marking Row Groups You can divide a table s rows into row groups, in which each group element contains different types of content and can be formatted differently A table can have multiple table body row groups

Marking Column Groups Once the table columns have been determined by the browser, you can reference them through the use of column groups

Adding a Table Summary The summary attribute allows you to include a more detailed description about the table <table summary="description">... </table>

Formatting Tables with HTML Attributes The amount of space between table cells is known as the cell spacing The cell padding is the space between the cell contents and the cell border

Formatting Tables with HTML Attributes To define the padding within table cells, add the attribute <table cellpadding="value">... </table> to the table element, where value is the size of the padding space in pixels To define the space between table cells, add the attribute <table cellspacing="value">... </table> to the table element, where value is the space between table cells in pixels

Formatting Tables with HTML Attributes To set the width of the table to a specific value, add the width attribute <table width="value">... </table> Many browsers also support the height attribute <table height="value">... </table> You can use HTML to set the row heights by applying the height attribute <tr height="value">... </tr>

Formatting Tables with HTML Attributes A table frame specifies which sides of the table (or which sides of the table cells) will have borders <table border="value" frame="type">... </table>

Formatting Tables with HTML Attributes

Formatting Tables with HTML Attributes A table rule specifies how the internal gridlines are drawn within the table <table border="value" rules="type">... </table>

Formatting Tables with HTML Attributes By default, browsers horizontally center the contents of table header cells and left-align the contents of table data cells To control the horizontal alignment align="position To control the vertical alignment valign="position"

Formatting Tables with CSS Starting with CSS2, Cascading Style Sheets included support for Web tables You can apply one set of borders to the Web table itself and another set of borders to the individual cells within the table

Formatting Tables with CSS To define the border model used by the table, apply the table style border-collapse: type where type is separate (the default) to keep all borders around cells and the table itself, separate, or collapse to merge all adjacent borders To set the space between separated borders, apply the table style border-spacing: value where value is the space between the borders in any of the CSS units of measure

Formatting Tables with CSS The most general styles are those applied to the entire table

Formatting Tables with CSS To position a table caption, apply the style caption-side: position where position is top or bottom

Applying Table Styles to Other Page Elements

Applying Table Styles to Other Page Elements

Using Tables for Page Layout

Using Tables for Page Layout The jigsaw layout involves breaking up the page content into separate table cells that are then joined together like pieces in a jigsaw puzzle

Using Tables for Page Layout

Exploring the Controversy over Table Layouts Table layouts are not in the spirit of HTML Table layouts are difficult to revise Tables take longer to render Tables can be code-heavy Tables can be inaccessible to users with disabilities

Creating a Rounded Box Using div Containers

Creating a Rounded Box Using div Containers <div class="top"><div class="bottom"> <div class="left"><div class="right"> <div class="topleft"><div class="topright"> <div class="bottomleft"><div class="bottomright"> <div class="boxcontent"> content </div> </div></div></div></div> </div></div></div></div>

Creating a Rounded Box Using div Containers