Introduction to Web Site Development John Hurley Department of Computer Science California State University, Los Angeles Lecture 4: Favicons Tables and.

Slides:



Advertisements
Similar presentations
Introduction to HTML Part 2
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.
Images, Tables, lists, blocks, layout, forms, iframes
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.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
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.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
 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.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Table, Forms, Metatags and Frames.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
What is a TABLE? The HTML table allows web designers to arrange & organize data -- text, images, hyperlinks, forms, form fields, other tables, etc. Tables.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
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.
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 & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
Web Development University of Khartoum. Web Development Web Programming Web Design University of Khartoum.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
>> 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.
 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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Chapter 9 Table Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
1 Week Four– Advance HTML 2 Dr. Fadi Safieddine. 2 Lecture Content Basic HTML Tables Using based Feedback form Creating and Using Image Maps Nested.
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.
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.
Lecture 6 More Advanced HTML Boriana Koleva Room: C54
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
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.
Chapter 9 Table Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Tables creating a table within a web page. What makes up a table? Columns Rows.
Organizing Content with Lists and Tables
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
Working with Tables: Module A: Table Basics
>> HTML: Tables.
Tables and Frames.
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.
Introduction to Web Site Development
Chapter 5 Introduction to XHTML: Part 2
Web Engineering Hyperlinks, Tables, Frames Lecture 04
Chapter 7 Tables.
Chapter 5 - Introduction to XHTML: Part 2
HTML and CSS 8th Edition Chapter 18: Tables.
Basic HTML and Embed Codes
1 Introduction to XHTML.
Introduction to XHTML Cont:.
Implementing Tables to Hold Data in HTML
Introduction to HTML.
Site Development Foundations Lesson 6
In this session, you will learn to:
Lesson 5: HTML Tables.
Hypertext Markup Language Table 11th Lecture
Web Client Side Technologies Raneem Qaddoura
Basics of Web Design Chapter 9 Table Basics Key Concepts
Presentation transcript:

Introduction to Web Site Development John Hurley Department of Computer Science California State University, Los Angeles Lecture 4: Favicons Tables and Frames

Student Presentations

Linking to Specific Locations In your destination document, define a location to link to using the ID attribute Example: This is a paragraph with an ID. In your source document, define a hyperlink to the destination document, appending an #id to the URL Example: Security Link

Favicons Site addresses often appear in browser URL windows with small icons These are called favicons They are traditionally in the.icon file format, although they can now be in.gif or.png You can create one from any of the main image formats at

Favicons xhtml syntax: You need both of these due to inconsistencies between browsers

The TABLE Element (Basics) Description: Use the table element to place data in a two-dimensional table Placement: Flow Content (i.e. don’t put a table inside a paragraph or in-between text) Content: caption, colgroup, thead, tfoot, tbody, tr, td elements

The TABLE Element (Basics) Uses: Obvious uses: some information lends itself to presentation in tables: Tables can be used as the top-level layout of a page can be a little confusing to set up, but the formatting is very rigid and thus predictable Page layout using tables is regarded as a little old fashioned. Layout using CSS (which we’ll learn about soon) is more powerful

The TABLE Element (Syntax) Example

The TABLE Element (Attributes) Common Optional Attributes Title: Specify a tool tip when the mouse hovers over the table. Note that this is an attribute; if you add a title element, it will appear as the page title. Cellpadding Border Summary (used by screen readers)

The Caption Element (Basics) Description: Use the caption element to define caption text for the table (optional) Placement: caption must be a child of table This is a table

The THEAD Element (Basics) Description: Use the thead element to mark one or more rows of a table, starting from the first row, as heading rows Placement: thead must be a child of table Content: 0 or more tr elements.

The TBODY Element (Basics) Description: Use the tbody element to mark one or more rows of a table, starting after the last thead or tfoot row, as body rows. Placement: tbody must be a child of table and come after thead (if there is a thead) Content: Zero or more tr elements.

The TFOOT Element (Basics) Description: Use the tfoot element to mark one or more rows of a table, starting from the bottom row, as footing rows. Useful for summarizing data Placement: tfoot must be a child of table, and must be placed *before* the tbody Content: Zero or more tr elements tfoot may be rendered identically to tbody by default; we will see how to change this with CSS

Tr (Basics) Use the tr element to begin a new row in a table Placement: tr must be a child of table, thead, tfoot, or tbody Content: When parent is thead, zero or more th elements; otherwise, zero or more td or th elements.

TR (Syntax) Example 1 2

The TD/TH Elements (Basics) Description: Use td/th to add table data to the current row of the table Placement: td / th must be child of tr Th for headings, usually in thead Td for data, usually in tbody

The TD/TH Elements (Syntax)

The TD/TH Elements (Attributes) Optional Attributes colspan: The number of columns this cell will span. rowspan: The number of rows this cell will span. headers: A string containing a sequence of html identifiers that are associated with table headers. Used by speech readers to help the blind make sense of table data. Use in td with reference to id attributes in the elements.

More complete table sample Example Page Multiplication Table # 1 2 3

More complete table sample Learn this and you will prosper

Frames Display more than one document in a page Very popular for links, ads, and navigation in the late 90’s, now regarded as outdated No body tags! Text to be displayed in browsers that do not support frames

Frames HTML5 standard will drop the frame and frameset elements One type of frame however, will still exist in HTML5, the inline frame element, iframe

Frames Frames are out of fashion for myriad reasons: confusing interfere with bookmarking interfere with back button interfere with printing

Frames abused by designers who made content look as if it came from different sites than it really did Paintings by John Hurley Text to be displayed in browsers that do not support frames

The IFRAME Element (Basics) Description: Use the iframe to load the contents of another HTML page in a child window within the current document. Placement: iframe is embedded content, and can be placed anywhere flow and phrasing content is expected. Content: Fallback text, in case the web browser does not support inline frames.

The IFRAME Element (Attributes) Optional Attributes src: The URL of the document to load within the frame. Can be absolute or relative. id: a name of the frame window (useful when we do JavaScript later on). width: The desired width of the frame window. height: The desired height of the frame window. scrolling: whether to include a scrollbar. Default is auto

The IFRAME Element (Syntax) Example Your web browser does not support inline frames!

Firebug Free add-on to Firefox that allows you to change html code and immediately see how it renders Tools/Add-ons/Get Add-ons Demo

In-Class Exercise Create a table with two rows and two columns Add an iframe to each of the four cells Point the four iframes to your four favorite school-appropriate news sources (eg, the LA Times) Give the table a caption