HTML Tables & Frames Internet Technology.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
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.
Introducing Web Tables
HTML TABLES Cyndi Hageman. Tables   Attributes Name or id – used to identify the table Border = set this to determine if there is a border and the size.
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.
 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.
Chapter 6 Working with 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.
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
What is a TABLE? The HTML table allows web designers to arrange & organize data -- text, images, hyperlinks, forms, form fields, other tables, etc. Tables.
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 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.
Identifies the Structure Table Row Column 1 Table Heading Column 2.
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.
CS105 Introduction to Computer Concepts HTML
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.
HTML Essentials Frames and Frame Tags. Introduction A frame used to be an effective design tool Utilized space effectively by subdividing screen One idea:
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
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 ►
 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.
Working with HTML Frames The Good, The Bad & The Ugly.
HTML B OOT C AMP Chapter 10 Tables Kirkwood Continuing Education © Copyright 2015, Fred McClurg All Rights Reserved.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
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 (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:
 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.
Week 9: HTML Tables and Frames HNDIT11062 – Web Development.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
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.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: HTML Tables.
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
>> HTML: Tables.
Tables and Frames.
LAB Work 02 MBA 61062: E-Commerce
Chapter 5 Introduction to XHTML: Part 2
Introduction to HTML.
Chapter 5 - Introduction to XHTML: Part 2
Table of Contents Creating Frames Frameset Tag and its attributes
TABLES.
Table of Contents Creating Frames Frameset Tag and its attributes
Using HTML Tables SWBAT: - create tables using HTML
TABLES.
Table of Contents Creating Frames Frameset Tag and its attributes
Site Development Foundations Lesson 6
Lesson 5: HTML Tables.
HTML Tables & Frames Internet Technology.
Presentation transcript:

HTML Tables & Frames Internet Technology

HTML: Tables Table tags <table> </table> surround the entire table <th> </th> header row (text is boldfaced) <tr> </tr> surround each row <td> </td> surround each data cell Provide a little more control over where items appear on a web page in relation to one another Example <table border=“1”> <tr> <td>Here’s</td> <td>a table</td> </tr> <td>Let’s </td> <td>learn how</td> </table> Internet Technology

HTML: Table Tag Attributes Value Description <table border= “1”> number (0 to n) Specifies the thickness of table border (0 = no border) <table align= “center”> left, center, right Specifies the horizontal position of a table <tr align= “center”> Specifies the horizontal position of table row content <tr valign= “top”> top, middle, bottom Specifies the vertical position of table row content <td align= “center”> Specifies the horizontal position of table cell content <td valign= “top”> Specifies the vertical position of table cell content <td colspan= “2”> Specifies the number of columns a cell should span <td rowspan= “2”> Specifies the number of rows a cell should span <td width= “20%”> number (pixel) or % Specifies the width of a cell <td height= “20%”> Specifies the height of a cell <td bgcolor= “green”> color name Specifies the background color of a cell Example: http://widit2.knu.ac.kr/~kiyang/share/html/tabledemo.htm Internet Technology

HTML: Frames Frame Tags HTML Frames Example 1/13/2019 HTML: Frames Frame Tags <frameset> </frameset> holds two or more frame elements <frame src=“URL”> defines a frame (window) within a frameset HTML Frames Divide the browser window into pieces Display multiple HTML document in the same browser window Each HTML document is called a frame A different HTML page loads in each piece, and can be manipulated independently of the others Example <frameset cols="25%,75%"> <frame src=“left.htm" /> <frame src=“right.htm" /> </frameset> 25% 75% left.htm right.htm http://widit2.knu.ac.kr/~kiyang/share/html/frameDemo.htm Internet Technology

HTML: More Frame Examples 1/13/2019 HTML: More Frame Examples Nested Frames <frameset rows=“10%,90%"> <frame src=“top.htm" > <frameset cols=“50%,50%"> <frame src=“left.htm"> <frame src=“right.htm"> </frameset> </frameset> Named Frames Use NAME attribute of <frame> tag to designate a name for the target window <frame src=“left.htm" name=‘left’> <frame src=“right.htm" name=‘right’> Use TARGET attribute of <a> tag to display the linked page in the named window <a href=“http://knu.ac.kr” target=‘right’> Use <noframes> tag to display a message for browsers that do not support frames <noframes><body>This browser does not support frames.</body></noframes> top.htm left.htm right.htm Example: http://widit2.knu.ac.kr/~kiyang/share/html/frameDemo2.htm http://widit2.knu.ac.kr/~kiyang/share/html/frameDemo3.htm Internet Technology

HTML: iFrame Inline Frame 1/13/2019 HTML: iFrame Inline Frame <h1>iFrame</h1> <iframe src=“index.htm“ > </iframe> Attributes - name - height, width - scrolling - frameborder Examples: http://widit2.knu.ac.kr/~kiyang/share/html/iframeDemo.htm http://widit2.knu.ac.kr/~kiyang/share/html/iframeDemo2.htm http://widit2.knu.ac.kr/~kiyang/share/html/iframeDemo3.htm http://widit2.knu.ac.kr/~kiyang/share/html/iframeDemo4.htm Internet Technology