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.

Slides:



Advertisements
Similar presentations
Common Tags Always include the … tags Comments placed inside tags HTML documents –HEAD section Info about the document Info in header not generally rendered.
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.
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!
Session 3 Intermediate HTML Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
 2001 Prentice Hall, Inc. All rights reserved. Outline 1 Table1.html 1 2
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 4: Tables and Frames.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
Creating a Web Page with Tables. Objectives Create a text table with preformatted text Create the basic structure of a graphical table Organize table.
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.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Using HTML Tables.
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 5 - Introduction to XHTML: Part 2 Outline 5.1 Introduction 5.2 Basic XHTML Tables 5.3 Intermediate.
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.
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.
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.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
Identifies the Structure Table Row Column 1 Table Heading Column 2.
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.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
 2004 Prentice Hall, Inc. All rights reserved. Chapter 5 - Introduction to XHTML: Part 2 Outline 5.1 Introduction 5.2 Basic XHTML Tables 5.3 Intermediate.
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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
 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.
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 Tables The HTML table model allows authors to arrange data - text, preformatted text, images, links, forms, form fields, other tables, etc. - into.
How To Create HTML Tables. Table Structure General HTML code for a Web Table: table cells table cells.
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.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
Designing a Web Page with Tables
Client-Side Internet and Web Programming
Organizing Content with Lists and Tables
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
Working with Tables: Module A: Table Basics
>> HTML: Tables.
Web Development & Design Foundations with HTML5 8th Edition
LAB Work 02 MBA 61062: E-Commerce
HTML Tables.
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Chapter 5 Introduction to XHTML: Part 2
Introduction to HTML.
Client-Side Internet and Web Programming
Chapter 7 Tables.
Chapter 5 - Introduction to XHTML: Part 2
Using HTML Tables SWBAT: - create tables using HTML
TABLES.
HTML Tables & Frames Internet Technology.
Introduction to XHTML Cont:.
Web Development & Design Foundations with H T M L 5
Introduction to HTML.
Site Development Foundations Lesson 6
Principles of Web Design 5th Edition
Lesson 5: HTML Tables.
HTML Tables & Frames Internet Technology.
Presentation transcript:

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

4.1 Unordered Lists Unordered list element – Creates a list in which every line begins with a bullet mark – … tags – Each item in unordered list inserted with the (listitem) tag Closing tag optional

Unordered lists with HTML

4.2 Nested and Ordered Lists Nested list – Contained in another list element – Nesting the new list inside the original Indents list one level and changes the bullet type to reflect the Nesting Browsers – Insert a line of whitespace after every closed list Indent each level of a nested list – Makes the code easier to edit and debug

Nested and ordered lists in HTML

4.2 Nested and Ordered Lists (II) Ordered list element – … tags – By default, ordered lists use decimal sequence numbers (1, 2, 3, …) – To change sequence type, use TYPE attribute in opening tag TYPE = “1” (default) – Decimal sequence (1, 2, 3, …) TYPE = “I” – Uppercase Roman numerals (I, II, III, …) TYPE = “i” – Lowercase Roman numerals (i, ii, iii, …) TYPE = “A” – Uppercase alphabetical (A, B, C, …) TYPE = “a” – Lowercase alphabetical (a, b, c, …)

Different types of ordered lists

4.3 Basic HTML Tables Tables – Organize data into rows and columns – All tags and text that apply to the table go inside … tags – TABLE element Attributes – BORDER lets you set the width of the table’s border in pixels – ALIGN: left, right or center – WIDTH: pixels (absolute) or a percentage CAPTION element is inserted directly above the table in the browser window – Helps text-based browsers interpret table data

4.3 Basic HTML tables (II) – TABLE element (cont.) THEAD element – Header info – For example, titles of table and column headers TR element – Table row element used for formatting the cells of individual rows TBODY element – Used for formatting and grouping purposes Smallest area of the table we are able to format is data cells – Two types of data cells » In the header: … suitable for titles and column headings » In the table body: … – Aligned left by default

4.4 Intermediate HTML Tables and Formatting COLGROUP element – Used to group and format columns Each COL element – In the … tags – Can format any number of columns (specified by the SPAN attribute) Background color or image – Add to any row or cell – Use BGCOLOR and BACKGROUND attributes

4.4 Intermediate HTML Tables and Formatting (II) Possible to make some data cells larger than others – ROWSPAN attribute inside any data cell Value extends the data cell to span the specified number of cells – COLSPAN attribute Value extends the data cell to span the specified number of cells – Modified cells will cover the areas of other cells Reduces number of cells in that row or column VALIGN attribute – top, middle, bottom and baseline – Default is middle

A complex table with formatting and color