1 Web Site Design Development Lists and Links In HTML.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

Intro to HTML Basics HTML = Hypertext Mark-up Language HTML = Hypertext Mark-up Language HTML is a plain-text file that can be created using a text editor.
Chapter 2 HTML Basics Key Concepts
XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
TS 313 Multimedia Applications Welcome to TS 313 Multimedia Applications There is no audio lecture associated with this set of introduction slides Refer.
Introduction to HTML Lists, Images, and Links. Before We Begin Save another file in Notepad Save another file in Notepad Open your HTML, then do File>Save.
Creating And Publishing A Webpage You will learn the basic html ‘tags’ for formatting a webpage as well including internal and external content.
Links and Comments.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
XP Adding Hypertext Links to a Web Page. XP Objectives Create hypertext links between elements within a Web page Create hypertext links between Web pages.
AdvWeb-1/12 DePaul University SNL 262 Web Page Design Lists In HTML Instructor: David A. Lash.
AdvWeb-1/17 DePaul University SNL 262 Web Page Design Lists In HTML Instructor: David A. Lash.
1 WebSite Design... David Lash Module 1 Getting Started.
1 * The World Wide Web * HTML Basics Internet 1: The World Wide Web.
CS /13 DePaul University SNL 262 Advanced Web Page Design Review & Introduction - I Instructor: David A. Lash.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
1 Using HTML and JavaScript to Develop Website David Lash Module 1 Getting Started.
Web Page Development Identify elements of a Web Page Start Notepad
David Lash Web Site Design Development SNL 262 Lists and Links In HTML Instructor: David A. Lash.
AdvWeb-1/12 DePaul University SNL 262 Web Page Design Starting To Use HTML Instructor: David A. Lash.
1 Web Site Design Development Lists and Links In HTML.
Creating Web Pages Getting Started. Overview What Web Pages Are How Web Pages are Formatted Putting Graphics on Web Pages How Web Pages are Linked Linking.
AdvWeb-1/12 DePaul University SNL 262 Web Page Design Forms! - Chapt 8 Instructor: David A. Lash.
HTML Lesson 1 TBE 540 Farah Fisher. Prerequisites Before beginning this lesson, the student must be able to… Access web pages and navigate the web Access.
CIS101 Introduction to Computing Week 06. Agenda Your questions Resume project HTML Project Two This week online Next class.
AdvWeb-1/15 DePaul University SNL 262 Web Page Design Links In HTML Instructor: David A. Lash.
Purpose Tags are the key to marking up content on your HTML page. It’s the tags that mark up sections of the page and are defined (aesthetically) on the.
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
AdvWeb-1/13 DePaul University SNL 262 Web Page Design Links In HTML Instructor: David A. Lash.
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
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.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
EDW647: Internet for Educators Dr. Roger Webster Department of Computer Science Millersville University July 23, 2008 Create.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
Understanding HTML Code
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
F-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
Getting Started with HTML Please use speaker notes for additional information!
HTML Hyper Text Markup Language A simple introduction.
G053 Lecture 12 Introduction To HTML Mr C Johnston ICT Teacher
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Unit 3 Day 6 FOCS – Web Design. Journal Unit #3 Entry #4 Write the source code that would make the following display on a rendered page: Shopping List.
CS101 Introduction to Computing Lecture 9 Introduction to HTML (Web Development Lecture 2)
IS1824: Introduction to Internet Multimedia Lecture 5: Layout in HTML Rob Gleasure
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
INP 150: Basic HTML Term: Winter 2002 Section: H1 Time: Mon/Wed 5:30- 7:25 pm Place: TI237 Instructor: Paul J. Millis.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML 58.51A LINKING & LISTS Linking to local files name of destination.... anchor tag HREF attribute. This attribute identifies the location of the link.
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
Web Site Design & Management Class Three February 12, 2003 Pam Scanlon.
Web Site Design Development Lists and Links In HTML.
Web Page Design Forms! Website Design. Objectives What forms can do The Attributes of the form tag Using Textboxes Textareas Checkboxes Radio buttons.
HTML Hyper Text Markup Language. The Basics u HTML documents contain “tags” which instruct the Browser software on how to present the information within.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
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.
Web Page Design XHTML Lesson 4. Adding Structure 4 A div tag –Used to divide up a web page and to add structural meaning to the page. –Will not change.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
Revised June 2008 Online PD Basic HTML1 Let’s Try It!  Open Notepad oStart > All Programs > Accessories > Notepad oDon’t get WordPad by mistake – won’t.
Computer Basics Introduction CIS 109 Columbia College.
LAB Work 01 MBA 61062: E-Commerce
CS7026: Authoring for Digital Media HTML Authoring
Digging in a little deeper
The W3C More on images Entity codes Remote vs Local Computers
Presentation transcript:

1 Web Site Design Development Lists and Links In HTML

2 What We Covered Last Time What we talked about 1. A little background on Internet, Web Browsers 2. Creating your first HTML Web Page - What is HTML - Basic HTML document - How to publish your basic document (FTP) 3. Understanding basics of HTML document 4. New paragraphs, Horizontal rule, and header. 5. Validator “lite”

3 Instructor Info l David Lash l l Phone: l Call if any questions...

4 The Course Requirements l Homework - 30% - Lab exercises based on lecture material. »E.g., create a web page that has an HTML table. l Midterm Test - 20% - Multiple guess questions about the 6 th week. l Major project - 50% - Select a project topic early. Send to with topic (or approve during »Page must have 5 sub-pages an be of ‘reasonable’ size. –Don’t select anything too hard requiring databases, or advanced graphics –Try to select something useful (e.g., a club site, church site or hobby) –More details next week.

5 How to do well in this class l Download and review class PowerPoint lectures. (They will be on class web site ( l Do homework on time (don’t let it pile up) l Ask questions when not understand. l Use lab time when needed »Immediately after lecture, will go to the lab, ask questions there is needed.

6 Using the course home page l Course homepage: http//condor.depaul.edu Any announcements will be posted here. E.g., A homework assignment problem/clarification. On-line syllabus Links to book websites Links to get books on-line Talk more about these next week

7 More on course web page As material becomes ready will change status here Click link to download power point slides Home work assignments are at end of PowerPoint slides.

8 One more item... l In order to get space on the DePaul Web Server. 1.Contact the DePaul O’hare Lab Assistant (outside of lab) 2.Ask to activate your account. 3.Do this even if you ‘have’ an account (all students have depaul accounts) (Note: Its routine practice for them to suspend inactive accounts). You will need to do this to publish your pages on DePaul's web server. You won’t need this for a couple weeks BUT DON’T DELAY. It can take up to a week to set up!!!!

9 Details on Final Project... l Can find details at: FinalWebDesignProj.htm Talk to or about what you are going to do.

10 What Was Covered Last Week l What we will talk about 1. A little background on Internet, Web Browsers 2. Creating your first HTML Web Page - What is HTML - Basic HTML document - How to publish your basic document. 3. New paragraphs, Horizontal rule, and header. 4. Validating HTML code

11 Review - HTML Overview - Example Mypage Welcome to Website Design. Stuff you write here becomes your HTML document. Indicates start and end of HTML document The header section of document This title appears in the upper left hand corner of browser. Not in the body of the document Inside the … tags is the main portion of your document. Note how new lines in file are ignored in web page display (because HTML did not indicate line break)

12 Review - Steps To Create HTML Document & Display 1. From your PC goto S tart->run enter n otepad 2. Enter your tags and document 3. From notepad window, goto f ile->saveas 4. Enter a filename with HTML suffix (SECOND WARNING!! No spaces or caps please!). 5. Start Netscape (or IE, or Firefox). 6. From Netscape, goto f ile->open page -> choose file. (Find the file you just saved and display it!) Competency Alert: You need to know this ! Common Problem Area! People seem to forget this

13 Objectives l A short section on aligning text »right, center and left with l Creating ordered, bullet and definition lists »Creating Lists within lists l Creating hyperlinks »Creating regular links »Using relative addresses »Linking addresses

14 Competency Objectives 1. Can center text using the tag 2. Lists - Can create a and list with attributes 3. Links: 1.Can create a link to another page outside of current web page 2.Can create a ‘relative’ link to another page within current web page Competency Alert: You need to know this ! Common Problem Area! People seem to forget this

15 Using To Align Text l We have seen can use to align text. l Can also use... » Stands for divide or division. »Can create logical divisions of the text you are formatting and treat them as 1 group. »It really does nothing unless you use arguments. »Often use align attribute to with to adjust text to left, right or center. Note: a subtle different between using VS to align text. will give an extra line break. will not Note2: We will see again. Will see div again in various places, e.g., CSS Competency Alert: You need to know this !

16 Using To Align Text For example, My Home Page This is a test of center adjusted text. Of Coarse, this is a Right sample By the way I can use a align=left but I don't need it because the default is to put the text to the extreme left anyway. Still there is a difference between using paragraph and div tags. This text will be aligned right This text will be centered Text will be aligned left by default

17 Objectives l A short section on aligning text »right, center and left with l Creating ordered, bullet and definition lists »Creating Lists within lists l Creating hyperlinks »Creating regular links »Using relative addresses »Linking addresses

18 List Management 101 l HTML supports 3 different types »Ordered lists - numbered, 1. Baseball 2. Hotdgs 3. Apple Pie »Unordered lists - bullet lists, »Baseball »Hotdogs »Apple Pie »Definition Lists - indented lists without numbers or symbols Baseball A only played well in NY Hotdogs A substance resembling meat Apple Pie What Sara Lee now makes instead of Mom

19 Ordered Lists l This is an ordered list: 1. This is the first element 2. This is the second line 3. This is the third line To format above use the, tags Marks the start and end of the ordered list section... - Indicates start and end of each ordered list item. Note: How do you remember these? OL – stands for ordered list LI – stands for List Item Competency Alert: You need to know this !

20 Ordered Lists l For example: This is the first element This is the second line This is the third line l Would look like: 1. This is the first element 2. This is the second line 3. This is the third line List item has start & List is contained in &

21 An Ordered List Example An Ordered List Example 3. 4.Some different endings for Lord of the Rings Gollum gets the ring and defeats Saron himself! 8. 9.Frodo jumps in the lava with the ring Sauron gets the ring and there is no more middle earth

22 Attributes For Ordered Lists l Using Type = E.g., For 1,2,3 Ordering.....… For A,B,C Ordering For a,b,c ordering For Roman Numeral (E.g, I, II, III, IV) For small Roman Numerals (E.g., i, ii, iii, iv) Competency Alert: You need to know this !

23 Unordered Lists l Unordered Lists - These would be bullet lists, For example  This is the first element  This is the second line  This is the third line l To format above use the following tags »... Starts & ends the ordered list section » … - Starts & ends each individual item.

24 Unordered Lists l For example, This is the first element This is the second line This is the third line l Would create the following  This is the first element  This is the second line  This is the third line List is contained in & List item has start & Competency Alert: You need to know this !

25 Unordered Lists Use An Attribute TYPE= E.g., Creates a small disc list Solid circles Solid Squares

26 An Unordered List Example John Adams Some information about John Adams He was a moral man and was against slavery He was friends with Tom Jefferson and then bitter political enemies and then friends again He and Tomas Jefferson died on the same day!

27 Definition Lists  Indented lists without any numbers or symbol in front of each item Baseball A only played well in NY Hotdogs A substance resembling meat Apple Pie What Sara Lee now makes instead of Mom ... A definition list  … A definition term as part of a definition list - Level 1 term  … - A Definition to definition term - level 2 term

28 An Unordered Example An Ordered List Example A few definitions Baseball 8. A only played well in NY Hotdogs 11. A substance resembling meat 12. Apple Pie 13. What Sara Lee now makes instead of Mom

29 Lists Within Lists l Lists Within Lists »You can put lists within lists if you wish creating an outline feel for your text. 1. Baseball  White Sox  Cubs 2. Football  Bears l Corresponding HTML Code: Baseball> WhiteSox Cubs Football Bears Bullet list w/I numb list Separate Bullet list 1 Major Number list Note: It greatly helps to indent to keep things straight. Competency Alert: You need to know this !

30 A Roman Numeral Example Attention, attention, attention: Chicago Professional Sports Teams Baseball Cubs White Sox Football Bears? (well sort-of professional) basketball Bulls? (Well that is a stretch) Again It helps to indent when using lists within lists Lists Within Lists – Things can get confusing quickly Common Problem Area! People seem to forget this

31 Objectives l A short section on aligning text »right, center and left with l Creating ordered, bullet and definition lists »Creating Lists within lists l Creating hyperlinks »Creating regular links »Using relative addresses »Linking addresses

32 HTML Hyperlinks l Hyperlinks are the means which HTML lets you branch from 1 file to another. l You can link to any file, that includes but not limited to: »wav files, »picture files (gif, jpg, etc), »powerpoint files, »xcl (excel files) »html files. »Or even a link to preaddressed letter (mailto: learning.com)

33 Anatomy of a Hyperlink l HTML hyperlinks have the following format: Click Here Anchor tag can be used for links HREF attribute specifies Internet address of file to link to The “clickable text” Home Page Clickable text displayed on page Page to load when link is clicked Competency Alert: You need to know this !

34 A Link Example DePaul Link You can visit this course at the Indelible Website 4. YOu can also see lots of Disney Stuff at the Disney website

35 Note A common link problem l Sometimes, people forget the in an absolute address... Home Page l DON’T DO THIS. It will look for a file called in the current directory structure (which of coarse will not be there) Common Problem Area! People seem to forget this

36 Linking to non-HTML Files l Linking to non-html files if no different than linking to HTML files 1. DePaul Link 2. The picture can be found at this link 5. 6.

37 Specify links that are portable l Specifying complete URL works well but what happens when … »You need to change domain names or userids? –For example, move site from to »For example, suppose had a site with 3 files: myhome.html, moreinfo.html, and faq.html ) –myhome.html has link to moreinfo.html and faq.html –moreinfo.html and faq.html each link back to myhome.html [public_html] myhome.html moreinfo.html faq.html

38 Specify links that are portable If change domain name would have to change 2 lines in myhome.html and 1 each in moreinfo.html and faq.html. more info Frequently Asked Questions This document contains more information. Here is lots of stuff … Go back home click for home. Frequently asked questions... Go back home click for home. faq.html myhome.html moreinfo.html All 4 links in 3 different files must change if I move my site.

39 Soln: Use relative Internet addresses l Absolute addresses – Specify the complete address of the file to link to: »E.g., The file is here l Relative Address – Specify just file name (relative to current site.) »E.g., The file is here file.html l So can now move directories w/o link changes … Note leave off and domain name Competency Alert: You need to know this !

40 So Use Relative Addresses l So these pages can change directories or domains w/o changes moreinfo.html more info faq.html Frequently Asked Questions This document contains more information. Here is lots of stuff … Go back home myhome..html click for home. Frequently asked questions... Go back home click for home.myhome..html faq.html myhome.html moreinfo.html

41 Using Relative Links l So relative links work well when file to connect to are in the same directories … »But how to link from myfile.html to hw.html? [public_html] index.html \ myfile.html \ \ [homework] hw.html index.html and myfile.html are in public_html hw.html is in homework Note: Link from index.html to myfile.html: my personal file

42 Using Relative Links between directories... How link from myfile.html to hw.html? [public_html] index.html \ myfile.html \ \ [homework] hw.html l Precede the file to link to by a forward slash (‘/’) and directory name: my homework index.html and myfile.html are in public_html hw.html is in homework Link to this file that is in this directory Note: the forward slash is used on both UNIX a MircoSoft web servers Competency Alert: You need to know this !

43 Linking up … to the parent directory l To link to file in a parent directory (a directory above your current): »Use.. to access the parent directory. E.g., [public_html] index.html \ \ [homework] hw.html Link from hw.html to back index.html: my home page index.html is in public_html hw.html is in homework Go u p 1 level to parent Get this file in parent directory

44 Relative Link Examples... l Assume the following file structure [public_html] index.html / \ [labs] [homework] lab1.html hw1.html hw2.html l What is the URL of hw2.html if web server students.depaul.edu l How would you link from hw2.html to lab1.html? l How would you link from hw2.html to index.html? Lab1.html is in “labs” hw1.html and hw2.html is in homework Lab1 Competency Alert: You need to know this !

45 Objectives l A short section on aligning text »right, center and left with l Creating ordered, bullet and definition lists »Creating Lists within lists l Creating hyperlinks »Creating regular links »Using relative addresses »Linking addresses

46 Linking to a pre-addressed l A Link that when clicked, opens a page automatically to a pre-addressed mail form l General Format: Click here l For example: me! address Text to display Note: This construct is not often used in on Web sites. Why? It opens to a window using the users defined default client. If the user’s definition is wrong, no gets sent!

47 Summary l A short section on aligning text »right, center and left with l Creating ordered, bullet and definition lists »Creating Lists within lists l Creating hyperlinks »Creating regular links »Using relative addresses »Linking addresses

48 A Hyperlink Review... What file does each of the following load? 1. Click Here 2. pick one of these out 3. home. 4. Here are the results 5. The boys

49 Lab 2 - Hands-on Exercise

50 One Possible Solution A few of my favorite things Top three things Frodo should have done with the ring Not taken it from Bilbo Sold it on e-bay Bury it back in the lake After all it was there for hundreds of years I don't think Sauron could swim since he was a fireball

51 Lab 2 – b Create an HTML page that looks like: Put link to each homework And lab work for course. When click link automatically open your completed lab. You will need to continue to add to this page to link in each assignment as you finish it.