2004-2005 Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.

Slides:



Advertisements
Similar presentations
Using HTML Tables Presenting Information & Layout Control.
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.
Chapter 3 – Web Design Tables & Page Layout
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
CIS101 Introduction to Computing Week 07. Agenda Your questions JavaScript text Resume project HTML Project Three This week online Next class.
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
Introducing Web Tables
Introduction to HTML II Shih-Heng Chin. Preface Structure of a HTML File Elements used frequently Tables.
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
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.
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.
Lesson 6. Links in HTML Computer Science Welcome to Virtual University in Pakistanhttp://
Tables in HTML Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
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.
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.
Creating Tables in a Web Site.  Define table elements  Describe the steps used to plan, design, and code a table  Create a borderless table to organize.
HTML Comprehensive Concepts and Techniques Second Edition Creating Tables in a Web Site October 23, 2012.
CS105 Introduction to Computer Concepts HTML
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
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 4.0 History and Application By: Marc Mayzes.
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
HTML II ECT 270 Robin Burke. 2 Outline Review Images text flow links Image maps Colors Tables.
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.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
1 Basic HTML. 2 Part 1: Basic Web Page Production.
C1999 Kathleen Schrock 1 Basic HTML By Kathy Schrock.
>> 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.
CPT 123 Internet Skills Class Notes Publishing to the Web Session B.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
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.
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
CS101 Introduction to Computing Lecture HTML Lists and Tables (Web Development Lecture 3)
Tables Web Authoring. This kind of a table THISIs aTABLE THISIs aTABLE THISIs aTABLE THISIs aTABLE.
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.
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.
CS-3432 Electronic Commerce Lecture – 7 Sikandar Shujah Toor
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.
Image Map You can define a region on your image as clickable. Add usemap=“mapname” parameter to your image. Add a tag to your html where name of map tag.
 You can also divide an image into regions that link to different documents depending on where someone clicks.  This is called an imagemap, and any.
Tables Attributes Image Map.  Tables are defined with the tag.  A table is divided into rows with the tag.  Each row is divided into data cells with.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Introduction to Web Authoring Ellen Cushman our syllabus
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
1 Creating the Home Page. 2 Creating a Table Table attributes  Two rows and two columns  No border  Left-aligned Change the vertical alignment of the.
Creating Tables in a Web Site HTML 4 Created by S. Cox.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
REEM ALMOTIRI Information Technology Department Majmaah University.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: HTML Tables.
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
CIS101 Introduction to Computing Week 07 Spring 2004.
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
>> HTML: Tables.
HTML Tables CS 1150 Spring 2017.
H T M L A B E S X P I N D.
Web Design and Development
If You Know Nothing About HTML, This is Where You Start.
COMS 161 Introduction to Computing
Project 4 Creating an Image Map.
Site Development Foundations Lesson 6
Basic HTML.
Lesson 5: HTML Tables.
Presentation transcript:

Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction to Computing I Lesson 6

Review of Last Week Open notepad. Open notepad. Create a Ordered List, with an Unordered Contents, exactly like below. Each company name will link to it’s web page and sport companies’ links will open in a seperate but the same window, and also news companies’ links will open in a seperate window than sport companies... Don’t forget square bullets! Create a Ordered List, with an Unordered Contents, exactly like below. Each company name will link to it’s web page and sport companies’ links will open in a seperate but the same window, and also news companies’ links will open in a seperate window than sport companies... Don’t forget square bullets! 1. Sport Companies Adidas Adidas Nike Nike 2. News Companies BBC BBC CNN CNN

Review of Last Week Color the text Sport Companies to dark blue: # Color the text Sport Companies to dark blue: # Color the text News Companies to dark red: # Color the text News Companies to dark red: # Add logos of these companies to your html file where the name of the companies will be under the image, these should be included in the link. Add logos of these companies to your html file where the name of the companies will be under the image, these should be included in the link. Where are logos? Use Google to find them! ( Where are logos? Use Google to find them! (

<html><head> Image Map Image Map </head><body><ol> Sport Companies Sport Companies Adidas Adidas Nike Nike News Companies News Companies CNN CNN BBC BBC </ol></body></html>

Image Map You can define a region on your image as clickable. You can define a region on your image as clickable. Add usemap=“mapname” parameter to your image. Add usemap=“mapname” parameter to your image. Add a tag to your html where name of map tag is “mapname”. Add a tag to your html where name of map tag is “mapname”. Three kinds Three kinds Rectangle Rectangle Circle Circle Polygon Polygon

Image Map </map> Parameters of map: Parameters of map: Name: name of image map. Name: name of image map. Parameters of area: Parameters of area: Shape: shape of area: rect, circle, poly Shape: shape of area: rect, circle, poly Coords: coordinates (next slide) Coords: coordinates (next slide) Alt: Alternative text. Alt: Alternative text. Href: link. Href: link.

Shape Coordinates Shape types and coordinates: Shape types and coordinates: shape=rect coords="left-x, top-y, right-x, bottom-y" shape=rect coords="left-x, top-y, right-x, bottom-y" shape=circle coords="center-x, center-y, radius" shape=circle coords="center-x, center-y, radius" shape=poly coords="x1,y1, x2,y2, x3,y3,..." shape=poly coords="x1,y1, x2,y2, x3,y3,..." X Y

Add an image map to your html Add above image to the top of your page and display it. Add above image to the top of your page and display it. Add a map tag to somewhere in body of your html, with a name “logosmap”. Add a map tag to somewhere in body of your html, with a name “logosmap”. </map> Add a parameter to your image to use this map: Add a parameter to your image to use this map:usemap=“#logosmap"

Add an image map to your html Add a rectangle with coordinates “3, 3, 96, 74” with alternative text “Adidas Web Site”, with a link and target to Sports window. Add a rectangle with coordinates “3, 3, 96, 74” with alternative text “Adidas Web Site”, with a link and target to Sports window. See if it works. See if it works. Do the same thing to get the following result. Do the same thing to get the following result. </map>

</map>

Tables Below everything, we will create a table to put the 4 of the company images in table of 3 rows x 2 columns, and use the top row as header to state if the column is sport company or news company. Below everything, we will create a table to put the 4 of the company images in table of 3 rows x 2 columns, and use the top row as header to state if the column is sport company or news company.

Tables You can add tables to your web pages. You can add tables to your web pages. You can display any data in tabular form You can display any data in tabular form Today, except from layers and css, most of the pages’ layouts are done by tables. Today, except from layers and css, most of the pages’ layouts are done by tables.

Tables... : All table event happens in between these tags. Attributes: border, width, height, cell padding, cell spacing.... : All table event happens in between these tags. Attributes: border, width, height, cell padding, cell spacing.... : Creates row in table.... : Creates row in table.... : Creates column in a row.... : Creates column in a row.... : Creates column headings.... : Creates column headings.... : Creates table header.... : Creates table header.

2 x 2 table <html> 2x2 table example Following is an example for "2x2 table" RED #FF0000 BLUE #0000FF 2x2 table example Following is an example for "2x2 table" RED #FF0000 BLUE #0000FF

Table border Change your html code to: border=a number (thickness)

Create a 4x4 table

Height and Width Change your html code to: OR height=a number (size in pixels) a number% (size in percentage of the container) width=a number (size in pixels) a number% (size in percentage of the container)

Caption Add under tag: Color Table Color Table

CellSpacing Change your html code to: cellspacing = number (distance between cells)

Cellpadding Change your html code to: cellpadding = number (distance between cell content and cell walls )

Column Headings Add under tag: COLOR HEX. VAL. COLOR HEX. VAL. Table headers are good for hearing disabled aiders.

Align Table Change your html code to: align=right left center

Align Row Change your html code to: BLUE #0000FF BLUE #0000FF align=right left center

Align Cells Change your html code to: RED #FF0000 RED #FF0000 align=right left center

Table Background Color Change your html code to:

Row Background Color Change your html code to: BLUE #0000 FF BLUE #0000 FF

Cell Background Color Change your html code to: RED #FF0000 RED #FF0000

Rowspan and Colspan a a b b c c d d </table>

EOL