HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.

Slides:



Advertisements
Similar presentations
HTML TABLES EXPLAINED. What is a TABLE? The HTML table allows web designers to arrange & organize data -- text, images, hyperlinks, forms, form fields,
Advertisements

Chapter 3 – Web Design Tables & Page Layout
Tables in HTML Web Design Fairport High School Technology Department Instructor: Gianni Bussani.
Color Templates Software Engineering Module: Web UI Programming Topic: HTML TALENTSPRINT | © Copyright 2012.
Learning HTML. > Title of page This is my first homepage. Tells Browser This is an HTML page Basic Tags Tells Browser End of HTML page Header information.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
HTML: HyperText Markup Language Hello World Welcome to the world!
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
Computing Concepts Advanced HTML: Tables and Forms.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
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.
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.
CS105 Introduction to Computer Concepts HTML
HTML Links and Anchors.
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
Links in HTML. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another web page on the same.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
HTML Introduction to HTML Tags. HTML Document My first HTML document Hello world!
CHAPTER 3 USING HYPERLINKS TO CONNECT CONTENT. LEARNING OBJECTIVES How to use the and anchor tag pair to create a text-based hyperlink. How to use the.
Lists, Images, Tables and Links. Lists Unordered List The first item The second item The third item The fourth item Ordered List 1.The first item 2.The.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
CPT 123 Internet Skills Class Notes Publishing to the Web Session B.
Going Live with a Basic Web Page Bill Hart-Davidson AIM: billhd30 pfworkshop.
Dreamweaver Edulaunch Project 1 EQ: What are the key concepts when building the first page of a web site?
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Tables & Frames Internet Technology.
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.
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 (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
Links in HTML What you need to know….. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another.
HTML Links HTML uses a hyperlink to another document on the Web.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Assistant Professor,UCER Naini,Allahabad
REEM ALMOTIRI Information Technology Department Majmaah University.
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML Lab4 Ins.Samia alblwi. O UTLINE : 1-Links 2-Frame.
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.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
REEM ALMOTIRI Information Technology Department Majmaah University.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
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.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
HTML Hyper Text Markup Language. What is HTML HTML stands for the Hyper Text Markup Language. HTML stands for the Hyper Text Markup Language. HTML is.
HTML Tables. Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag).
Web Development Part 1.
>> HTML: Tables.
Tutorial 5 Working with Tables and Columns
H T M L A B E S X P I N D.
Computers and Scientific Thinking David Reed, Creighton University
Web Design and Development
If You Know Nothing About HTML, This is Where You Start.
Introduction to HTML.
H T M L A B E S X P I N D.
H T M L A B E S X P I N D.
Hyperlinks, Images, Comments, and More…
Presentation transcript:

HTML Overview Part 4 – Tables 1

HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table row"  Each row is divided into data cells with tag pairs. o td stands for "table data," and holds the content of a data cell. o A tag can contain text, links, images, lists, forms, other tables, etc.

Parts of a Table 3 table header : A cell with bold, centered text in the first row of the table. creates a table header

table row : defines the start and end of a table row 4

table cell : Each “box” in the table is called a cell. defines the start and end of a table cell 5

HTML Table Example 6 row 1, cell 1 row 1, cell 2 row 2, cell 1 row 2, cell 2

Table Attributes 7  The opening tag may also contain attributes for the table:  specifies the thickness of the cell borders in pixels  sets the amount of space between the cells in the table  specifies the width of the table either in the number of pixels or as a percentage of the page width.

Table With Borders 8 If you do not specify a border attribute, the table will be displayed without borders. To display a table with borders, specify the border attribute: Row 1, cell 1 Row 1, cell 2

Tables Without Borders 9 This table has no borders:

Table Headers 10 Table headers: Name Telephone Bill Gates

Table With a Caption 11 Monthly savings Month Savings January $100 February $50

Cell Padding Use cellpadding to create more white space between the cell content and its borders. With cellpadding: First Row Second Row

Cell Spacing Use cellspacing to increase the distance between the cells. With cellspacing: First Row Second Row

Tags Inside a Table 14 This is a paragraph This is another paragraph This cell contains a table: A B C D

HTML Table Tags TagDescription Defines a table within the body of an HTML document. Defines a row within a table. Defines a data cell within a row in a table. Defines a cell within a table that displays with bold text – a header cell border=“value” Table attribute that specifies the thickness of the table borders in pixels cellpadding=“value” Table attribute that sets the amount of space between the cells in the table.

HTML Table Tags (cont.) TagDescription width=“value” Table attribute that specifies the width of the table either in the number of pixels or as a percentage of the page width. Defines a caption that appears above the table.

HTML Overview Part 4 – Hyperlinks 17

 A hyperlink is is a word, group of words, or image that you can click on to jump to a new document.  Hyperlinks are displayed in blue underlined text in the browser window.  Visited hyperlinks are displayed in purple underlined text.  The anchor tag tells the browser the text inside the tag is a hyperlink and.  The href attribute sets the URL of the destination page. Link Text This text will display as the hyperlink on your page. 18

 A hyperlink is is a word, group of words, or image that you can click on to jump to a new document.  Hyperlinks are displayed in blue underlined text in the browser window.  Visited hyperlinks are displayed in purple underlined text.  The anchor tag tells the browser the text inside the tag is a hyperlink and.  The href attribute sets the URL of the destination page. Link Text This is the URL of the destination site. 19

 A hyperlink is is a word, group of words, or image that you can click on to jump to a new document.  Hyperlinks are displayed in blue underlined text in the browser window.  Visited hyperlinks are displayed in purple underlined text.  The anchor tag tells the browser the text inside the tag is a hyperlink and.  The href attribute sets the URL of the destination page. Link Text 20

HTML Links Example HTML Tutorial This is a link to a page on this website. Googl e This is a link to a website on the World Wide Web.

HTML Links Tags TagDescription Anchor tag – tells the browser the text inside the tag is a hyperlink href Attribute that sets the URL of the destination page.

Assignment 23 Work through the W3Schools HTML Tables tutorial and the HTML Hyperlinks tutorial Complete Practice: Computer Viruses – part 3 of 5 Save your file as lastname_computer_viruses2