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
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

CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
HTML for Beginners An IEEE/ACM Presentation given by Hamilton Turner.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
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.
Basic Web Publishing BA209 Arturo Perez-Reyes. Web is a communication protocol The Internet is A net of nets That use the TCP/IP protocol To publish on.
CIS101 Introduction to Computing
Internet Publishing / Dreamweaver Luke E. Reese ANR Educ. and Communication Systems
Using HTML Tables.
HTML Introduction HTML
Internet Publishing / Dreamweaver Luke E. Reese CARRS
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
HTML Code. What we will cover Basic HTML Body Font Images Hyperlinks Tables 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.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
Web Page Creation Part II ST: Introduction to Web Interface Design Prof. Angela Guercio.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Lesson 6. Links in HTML Computer Science Welcome to Virtual University in Pakistanhttp://
Creating a Web Page HTML, FrontPage, Word, Composer.
Designing a Classroom Web Site Using NVU Beginning Level.
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.
Macromedia Dreamweaver CS4 Tutorial. Example of the website1 folder & images folder inside Create a folder on your computer called website1 to hold all.
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:MG Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 1 1.Open FrontPage – View -> Page 2.Open.
A simple example An HTML file is a text (ASCII) file in a special format: Charles Ling's home page My first.
HTML Revisited. Learning Goals for Today 1.To develop your personal Web page 2.To upload your Web page to UMT’s Web server so that it becomes visible.
Create Your Own Webpage. Fun with images Today we’ll cover –Working with images Including an image on your page Making the image a link Editing images.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
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.
Understanding HTML Code
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
>> 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.
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
HTML Hyper Text Markup Language A simple introduction.
Lecture 2 Building Web Pages 1 Lecture 2  Building Web pages  Languages and programs  HTML - Hyper Text Markup Language  Netscape’s Composer  MicroSoft.
Just Enough HTML How to Create Basic HTML Documents.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
CS101 Introduction to Computing Lecture 9 Introduction to HTML (Web Development Lecture 2)
Introduction to web development and HTML MGMT 230 LAB.
Internet Publishing Luke E. Reese ANR Education and Communication Systems
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
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.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:MG Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 2 1.Create a new document 2.Save as L/bsba/IS330/yourfolder,
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Internet Publishing / Dreamweaver Luke E. Reese Biosystems & Ag. Engr. / CARRS
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.
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
HTML Hyper Text Markup Language. The Basics u HTML documents contain “tags” which instruct the Browser software on how to present the information within.
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.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
HTML Hyper Text Markup Language. Agenda Basics Tools Important tags Tables & databases Forms Publishing at Stern.
Building a Web Page. A Brief History In 1989, Tim Berners-Lee invented the Web. To enable particle physics from around the world to organize and share.
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
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.
CIS101 Introduction to Computing Week 07 Spring 2004.
If You Know Nothing About HTML, This is Where You Start.
Internet Publishing Luke E. Reese
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 7

Review of Last Week Open notepad. Open notepad. Create a table Create a table 6 rows 1 columns 6 rows 1 columns Width is 120 pixels Width is 120 pixels 1st and 4th rows have lightblue background. 1st and 4th rows have lightblue background. Content will be in the picture... Content will be in the picture... Save the html page as menu.html Save the html page as menu.html

Create a new html page. Create a new html page. Using header, paragraph, and font tags write briefly about yourself. Using header, paragraph, and font tags write briefly about yourself. Save the html file as aboutme.html to the same directory as menu.html Save the html file as aboutme.html to the same directory as menu.html Using images.google.com find a picture you like about anything. And save it as picture.jpg to the same directory as menu.html Using images.google.com find a picture you like about anything. And save it as picture.jpg to the same directory as menu.html

Anchor Re-open menu.html for editing. Re-open menu.html for editing. Using anchor tag (... ) tag “My Favourite Picture” text to link picture.jpg Using anchor tag (... ) tag “My Favourite Picture” text to link picture.jpg Also tag About me text to link aboutme.html and “Bilkent” and Metu” texts to link to and Also tag About me text to link aboutme.html and “Bilkent” and Metu” texts to link to and Why we use for full web addresses? Why we use for full web addresses? Save it and view it. Do you get the pages when you click them? Save it and view it. Do you get the pages when you click them?

Organization of HTML pages. Aboutme.htmlPicture.gif Menu.html The Internet

Frames Frame creates independent sections in a single page. Each section can be used as seperate page. Framed pages codes doesn’t have..., instead they start with... tag. Frame creates independent sections in a single page. Each section can be used as seperate page. Framed pages codes doesn’t have..., instead they start with... tag.... creates frames inside the page.... creates frames inside the page. f# can be a number, or a number%, or *. f# can be a number, or a number%, or *. If number is used: width or height in pixels If number is used: width or height in pixels If number% is used: width or height in percentage If number% is used: width or height in percentage If * is used: the frame is created with the remaining space (adjusted) If * is used: the frame is created with the remaining space (adjusted)

Frames Inside tag, we add each frame by tag, attributes are: Inside tag, we add each frame by tag, attributes are: src=URL src=URL name="window name" Give a name to this frame so later you can use it with anchor tag. name="window name" Give a name to this frame so later you can use it with anchor tag. scrolling=yes, no, auto scrolling=yes, no, auto noresize noresize Means that you cannot resize this frame by mouse frameborder=yes, no frameborder=yes, no framespacing= a number in pixel. framespacing= a number in pixel. same as cellspacing in tables. Distance between content and border.

Frames Open notepad. Open notepad.<html><head> My First Framed Page My First Framed Page </head> </frameset></html> Save as index.html Save as index.html

Aboutme.htmlPicture.gif Menu.html The Internet index.html

Frames Open index.html. When you click on the links at the left of your frame (menu.html) the link that you click is opened at the left frame. To correct it: Open index.html. When you click on the links at the left of your frame (menu.html) the link that you click is opened at the left frame. To correct it: Open menu.html Open menu.html Add target parameter pointing to mainFrame to the 4 anchor tags (picture, aboutme, bilkent, metu): Add target parameter pointing to mainFrame to the 4 anchor tags (picture, aboutme, bilkent, metu):Target=mainFrame Save it and re-open index.html to test. Save it and re-open index.html to test.

Frames Open a new Notepad Open a new Notepad Save it as sixframes and view it. The tags should be the same number as cols x rows ( 2 x 3 = 6 ). Save it as sixframes and view it. The tags should be the same number as cols x rows ( 2 x 3 = 6 ).

Frames Create six html files with the filenames frame1.html frame2.html..., with backgroud colors red, green, yellow, pink, purple, and brown. Create six html files with the filenames frame1.html frame2.html..., with backgroud colors red, green, yellow, pink, purple, and brown. Complete tags of the sixframes.html file. Complete tags of the sixframes.html file. Experiment with *, number%, and number values and parameters for these six frames. Experiment with *, number%, and number values and parameters for these six frames. Can you make center row always centered? Can you make center row always centered? Hide/show borders, make frames not resizeable... Hide/show borders, make frames not resizeable... Change the number of frames, add other frame files if necessary. Change the number of frames, add other frame files if necessary.

Publishing your web Bilkent provides web spaces for publishing your web site. Bilkent provides web spaces for publishing your web site. You have your own UNIX accounts at the undergraduate student servers. These servers allows us to use UNIX programs, store files, and publish our web pages. You have about 20 MB storage space. You have your own UNIX accounts at the undergraduate student servers. These servers allows us to use UNIX programs, store files, and publish our web pages. You have about 20 MB storage space.

Telnet You can login to your UNIX account by your bilkent username and password. You can login to your UNIX account by your bilkent username and password. Start  Run  telnet leylak.ug.bcc.bilkent.edu.tr Start  Run  telnet leylak.ug.bcc.bilkent.edu.tr username: ussakli password: sosecret mkdir public_htmlmakes a directory chmod 755 public_html changes access rights cd public_htmlchanges directory cd..changes directory to upper lslists files exitquits

FTP You created the folder for your web. You created the folder for your web. To transfer files to your web site, you need an FTP (remeber: file transfer protocol) program. To transfer files to your web site, you need an FTP (remeber: file transfer protocol) program. You may login to leylak.ug.bcc.bilkent.edu.tr using any ftp program with your username and password that you used at Telnet. You may login to leylak.ug.bcc.bilkent.edu.tr using any ftp program with your username and password that you used at Telnet. Login to leylak, change directory to public_html and transfer index.html, menu.html, aboutme.html, and picture.jpg that we created at the beginning of the lesson. Login to leylak, change directory to public_html and transfer index.html, menu.html, aboutme.html, and picture.jpg that we created at the beginning of the lesson. Open your web browser (ie. Internet Explorer) and go to: Open your web browser (ie. Internet Explorer) and go to: If everything is correct, you and anyone in the world will see the pages you created. If everything is correct, you and anyone in the world will see the pages you created.

HOMEWORK %10 Create a web site an place it to a folder called web1 inside your public_html folder (you need to create the directory inside public_html, and change access rights. Create a web site an place it to a folder called web1 inside your public_html folder (you need to create the directory inside public_html, and change access rights. The web site will be about any 2 cars that you like. The web site will be about any 2 cars that you like. Due date: beginning of the week 8’s lesson. 29 March, Tuesday. You will be graded in the first hour. Due date: beginning of the week 8’s lesson. 29 March, Tuesday. You will be graded in the first hour. Do not use a professional program like frontpage or dreamweaver. You will lose half of the grade. Do not use a professional program like frontpage or dreamweaver. You will lose half of the grade.

The web site will contain 4 html pages: The web site will contain 4 html pages: index.html: index.html: a frames page with 2 rows a frames page with 2 rows 200 pixels 200 pixels Remaining part (*) (name: mainFrame) Remaining part (*) (name: mainFrame) Title: Two Cars I Like Title: Two Cars I Like top.html: the top frame (200 pixels long) top.html: the top frame (200 pixels long) This page should have This page should have a table a table Center aligned to the page Center aligned to the page Top row: centered, bold Top row: centered, bold 2 text links to 2 text links to car1.html and car2.html car1.html and car2.html with the target: mainFrame with the target: mainFrame Each cell is aligned to center. Each cell is aligned to center.

car1.html & car2.html car1.html & car2.html These pages are similar. Both have These pages are similar. Both have a table that has a table that has 2 columns 2 rows, 2 columns 2 rows, center aligned, center aligned, cellspacing=10 cellspacing=10 Border =0 Border =0 Top row Top row backcolor=blue backcolor=blue Centered Centered Has the car’s name. Has the car’s name. Colspan =2 Colspan =2 Bottom row Bottom row First cell First cell Width=100 Width=100 Valign=top Valign=top Has a 100 pixel wide image, when clicked shows larger version of the same image. Has a 100 pixel wide image, when clicked shows larger version of the same image. Second cell Second cell Width=400 Width=400 Has information about car, if you take the text from somewhere give referance. Has information about car, if you take the text from somewhere give referance.

Expected Results

This will be visible when we click on the small picture of the car.

EOL