Informatics Computer School CS114 Web Publishing HTML Lesson 3.

Slides:



Advertisements
Similar presentations
Frames. What are frames? The ability to divide the browser window into sections that can function independently of one another. Navigation within the.
Advertisements

Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based Web page using HTML.
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.
Chapter 3 – Web Design Tables & Page Layout
Tables Learn to create and enhance TABLES using a variety of attributes and formats.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Frames.
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.
16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
Introducing Web Tables
The Power of Tables They aren't just for sitting stuff on anymore...
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
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.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
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.
HTML Essentials Tables and Table Tags. Overview Use of Tables goes beyond tabulating data Frequently used to format Web pages / control layout Especially.
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.
XHTML1 Tables N100 Creating a Simple Web Page. XHTML2 Creating Basic Tables Tables are collections of rows and columns that you use to organize and display.
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.
1 Advanced Frame Options Using NORESIZE  By default, users may resize frames unless you specify the NORESIZE attribute in the tag  Examples:
CS105 Introduction to Computer Concepts HTML
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
XP Using Frames in a Web Site Ali Alfayly. XP Tutorial Objectives Create frames for a Web site Control the appearance and placement of frames Control.
Web Technologies Website Development Trade & Industrial Education
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
Tables Module 2: HTML Basics LESSON Extension. Module 2: HTML Basics LESSON Extension Lesson Overview In this lesson, you will learn to:  Create tables.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
Week 11 Creating Framed Layouts Objectives Understand the benefits and drawbacks of frames Understand and use frame syntax Customize frame characteristics.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
HTML (Hypertext Markup Language) – Class 3 Recap: HTML Special Characters (ex: ©). Including Images – using the tag. Lists – Ordered and Unordered.
HTML: Tables & Frames Internet Technology.
HTML Hypertext Markup Language. WORKING WITH FRAMES.
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.
Tables in HTML. Table Tag HTML tables always begin and end with a table tag. Syntax:
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.
 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.
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.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Basic HTML. So, what exactly is HTML? HTML stands for: HTML stands for: Hypertext Markup Language. It is a purpose built markup language for the delivery.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
Creating Tables in a Web Site HTML 4 Created by S. Cox.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Web111a_chapt04.ppt HTM: Section 4 Tables Table Types Text table elements Easy to use Use fixed-font text (font family monospace) Andale Mono Courier Monaco.
TABLES IN HTML No, not that kind of table!! THIS KIND!!
HTML Tags BTT1O. HTML  Documents written in hypertext markup language can be interpreted by all web browsers.  This language lets the web page developer.
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.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
Informatics Computer School CS114 Web Publishing HTML Lesson 4.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Lesson 9. Test 1 How was the test ? Assignment 1 (must complete satisfactorily even if you do not get any marks for it !!!!!!)
H T M L A B E S X P I N D.
HTML Tables & Frames Internet Technology.
Lesson 5: HTML Tables.
HTML Tables & Frames Internet Technology.
Presentation transcript:

Informatics Computer School CS114 Web Publishing HTML Lesson 3

2 Lesson Outline §Introduction to tables §Formatting tables §Introduction to frames §Formatting frames §Sample codes

3 Introduction to tables Tables Tables could be designed in HTML using simple tags but the specific rows and cells must be clearly defined. A very useful and easy to use feature. Especially useful when displaying images or forms on HTML pages to look presentable. Tables are specified by the and tags.

4 Basic Outline of a table in HTML

5 Basic Tags Beginning of the table design. The attributes of this tag are border,cellspacing, cellpadding, and bgcolor. Must be closed with a tag. Specifying the table row. Must be closed with a tag. The individual cells are placed within the and tags.

6 Specifies the table data. Logically, it represents a column. Specifies the table header. Displays a title to the table. Specifies the thickness of the table border Specifies the size of the area surrounding the neighbouring cells. Specifies the size of the area surrounding the data in a cell.

7 Allows to span (merge) a number of columns. Allows to span (merge) a number of rows. Allows to do a horizontal align (left, right) of the data in a cell. Allows to do a vertical align (top, middle, bottom) of the data in a cell.

8 Sample Codes for tables Code 1 (To create a simple table with one row) My First Table Tables Are Cool !

9 Code 2 (To create a simple table with two rows) My First Table Tables Are Cool ! And Easy Too!

10 Code 3 (To specify the attribute of the table) Tables Are Cool ! And Easy Too!

11 Code 4 (To specify table headers) Name Age Sex Alex 26 Male

12 Alex 26 Male Diana 21 Female Charlie 16 Male

13 Code 5 (To specify the row spans) Row 1 cell 1 spanning 2 rows Row 1 cell 2 Row 1 cell 3 Row 2 cell 2 Row 2 cell 3

14 Code 5 (To specify the row spans) Row 1 cell 1 spanning 2 cells Row 1 cell 2 Row 2 cell 1 Row 2 cell 2 Row 2 cell 3

15 Code 6 (To specify the row spans and col spans) NAMES CS 101 TOTAL MARKS ASSIGNMENT TEST EXAM JAMES BOND PASS

16 FRAMES Frames allow us to display more than one.html pages on a single window. It allows us to provide more features and also allow us to have a form of control over the website. Before we decide to use frames, we need to plan well. Not all browsers support frames and we must consider this fact.

17 Basic Tags for Frames The tags that specify the ‘family’ of frames in a particular set. This tag must be closed with tag. The Frame Source. Specifies what HTML page will be displayed on that particular frame. The identifier of a frame. Each frame must be given a name so that any hyperlinks that want to display a page on any frame, would know which frame to display on.

18 This tag would be used in any hyperlink call. Would not be used on a the main frames page. The target value would be the NAME value. Defines whether the user would be able to scroll. Values are either ‘yes’ or ‘no’ or ‘auto’ which is the default.

19 Defines whether the user would be able to resize the frame. Must do proper planning before setting this attribute to ‘no’. Specifies whether the frame would have the grey border. To disable the border, the value is ‘no’.

20 Sample Codes for Frames Code 1 (To design a page with 2 frames (row-wise)) Note: Frame commands will not work within the tags.

21 Code 2 (To design a page with 2 frames (col-wise))

22 Code 2 (To design a page with 2 frames (col-wise)) NOTE: This frame page will contain 3 frames. There will be one top frame in the first row and the second row will be further divided into 2 other columns. If we wish to display the links listed in the index frame onto the main frame, in the index.htm page, these attributes must be added : Feedback Form