Information Technologies Anselm Spoerri PhD (MIT)

Slides:



Advertisements
Similar presentations
4.01 How Web Pages Work.
Advertisements

XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
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.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
CIS101 Introduction to Computing
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
13 February Building a Web Page. Links Links: One always links to an anchor point Every page has an implicit anchor point at the start In addition, can.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
© Anselm Spoerri Web Design Information Visualization Course Prof. Anselm Spoerri
Chapter 14 Introduction to HTML
Hypertext Markup Language (HTML) Created by Sarah Dooley & Amanda Foster Edited and presented by Caroline Hallam September 9, 2014.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
Intro to MIS – MGS351 Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
Internal and External Links Web Design – Section 3-6 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Chapter 1: Introduction to Web
CPSC 203 Introduction to Computers Lab 21, 22 By Jie Gao.
1 HTML (Set Up Public Folder) Some material on these slides is taken directly from
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
1 Session 1: Introduction to HTML Spring Today’s Agenda Cover useful terminology for today’s session HTML, browsers, servers, etc. HTML Tags Get.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Web Page Design I Basic Computer Terms “How the Internet & the World Wide Web (www) Works”
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
HTML Hyper Text Markup Language A simple introduction.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 1 1 Browser Basics Introduction to the Web and Web Browser Software Tutorial.
Web Design 3080 – Week 2 More Fun With Delicious.com Setting up a ‘network’. 1.Go to Delicious.com and sign up for a personal account 2.Once your account.
CIS 250 Advanced Computer Applications Internet/WWW Review.
Introduction to web development and HTML MGMT 230 LAB.
1 Chinese Information Processing : Using Computers to Teach and Learn Chinese Week 6 and 7: Creating and maintaining web pages - html and ftp.
Adding Links Learning Web Design: Chapter 6. Lesson Overview Using the anchor tag Linking to other pages with relative or absolute pathnames Linking to.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 More About HTML Tables and Images. 22 Objectives You will be able to Create tables in HTML. Include images in your HTML page. Create links to other.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
HTML, Third Edition--Illustrated Brief 1 HTML, Third Edition Illustrated Brief Unit A Creating an HTML Document.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Internal and External Links Web Design – Section 3-6 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
 How a computer works  The Internet  Browsers  Web Pages.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
Introduction to HTML C151 Multi-User Operating Systems.
The Web Session 4 INST 301 Introduction to Information Science.
Session 1: Introduction to HTML Fall Today’s Agenda Talk about the functions of the Internet Cover useful terminology for today’s session HTML,
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
Tutorial 1 Getting Started with Adobe Dreamweaver CS5.
Understanding FTP File Transfer Protocol. Learning Objectives By the end of this lecture, you should be able to: – Describe the purpose of FTP – Install.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Distributed Control and Measurement via the Internet
CS7026: Authoring for Digital Media HTML Authoring
CNIT 131 HTML5 – Anchor/Link.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Information Technologies Anselm Spoerri PhD (MIT)
File Transfer Protocol
Presentation transcript:

Information Technologies Anselm Spoerri PhD (MIT) Info + Web Tech Course Information Technologies Anselm Spoerri PhD (MIT) SC&I @ Rutgers University aspoerri@rutgers.edu anselm.spoerri@gmail.com

HTTP – HyperText Transfer Protocol Basic HTML Lecture 3 – Overview HTTP – HyperText Transfer Protocol Basic HTML URL Basics HTML Elements & Tags: Block-level vs. Inline Elements Text Editor to use to create web pages FTP & Permissions FTP Programs to Use Demo Create Simple Web Page Upload to Server and Set Permissions Lectures – Week 3 Content http://comminfo.rutgers.edu/~aspoerri/Teaching/InfoTech/Lectures.html#week3

HTTP – HyperText Transfer Protocol Protocol to Exchange Information over the Web Internet  Web Internet = Collection of Global Networks Web: way to manage information exchange There are many other uses for the Internet File transfer (FTP) Email (SMTP, POP, IMAP)

What is URL - Uniform Resource Locator Web Basics – URL "http://www.abc.com/aaa/bbb/ccc.html" "http://" - hypertext transfer protocol - scheme "www.abc.com/" - server name - domain name, owner, host "/aaa/bbb/ccc.html" - path through folder hierarchy What is Server Name for SCI ? Path for MLIS program?

Absolute URL Relative URL URL Basics Default “Home” Page = index.html Web Basics – URL (cont.) URL Basics Absolute URL "http://www.abc.com/aaa/bbb/ccc.html" "Complete street address" Info located on external server Relative URL "../../../xxx/yyy.htm" "../" = up 1 level => up 3 levels, then subdir "xxx" to get to "yyy.htm" "Direction to neighbor's house" Anchor (same page), Internal (local) Default “Home” Page = index.html Keeps out prying eyes out of directories (also instructor :)

How to write and interpret the information Web Standards URL Where to find it HTTP How to get it HTML How to write and interpret the information Simple Document Structure Language for Web Advantages Adapts easily to different display capabilities Widely available display software (browsers) Disadvantages Does not directly control layout

Web Basics – HTML Elements & Tags HTML is made up of elements Elements are denoted in HTML by using tags For the most part, you will enclose content you are marking up in between tags Tags look like this: <tag>Content</tag> (read as: open tag, content, close tag) Three major elements needed for an HTML page <html> - container for all of our HTML code <head> - put data for browser and other machines <body> - put content to show to the user

HTML – Example <html> <head> Machine readable code (metadata) goes here </head> <body> User readable content goes here </body> </html> Some text elements <p>, <h1>, <h2>, <h3>, <ul>, <li> paragraph, heading 1, heading 2, heading 3, unordered list, list item Other elements <img>, <a>, <strong>, <em> image, anchor, strong, emphasis

HTML – Block-level vs. Inline Elements Block-level elements (<p>, <h1>, <h2>, etc.) take up their own space vertically. force elements after them to jump to next line. Inline-level elements (<a>, <img>, <strong>, <em>, etc.) do not take up their own vertical space can be placed inside of other elements. Note: cannot place a block-level element inside of inline-level element document will not validate properly if you do

Add Headings and Paragraphs Basic HTML Add Headings and Paragraphs <h1> </h1> header level one <h2> </h2> header level two <p> </p> paragraph Adding emphasis to text <b></b>, <i></i>, <strong></strong> Add links to other pages Use various kinds of lists Add images

Text Editor for Creating Web Pages Windows: NotePad++ (will be used in demos) http://sourceforge.net/projects/notepad-plus/ Mac: TextWrangler http://www.barebones.com/products/textwrangler/ Download & Install before proceeding :)

FTP – File Transfer Program and Key Ideas Move Files between Machines Upload (put) moves from client to server Download (get) moves files from server to client Both visual and command line interfaces available Want to send package to John Smith in USA What is missing? Want to Transfer File to Server – FTP Need to know Server Address Username & Password

FTP – File Transfer Protocol Windows / Mac: Filezilla http://filezilla-project.org/ Windows: WinSCP http://winscp.net/eng/download.php Mac: Fugu http://rsug.itd.umich.edu/software/fugu/download.html Mac: Cyberduck http://cyberduck.ch To Do Install Filezilla on your Home computer

FTP – File Transfer Protocol : Demo Will use Filezilla FTP client I will connect from local computer to “comminfo.rutgers.edu” You will connect from local computer to “eden.rutgers.edu”

FTP – File Transfer Protocol : Filezilla Main Window SiteManager Local Remote

FTP – File Transfer Protocol : Filezilla Site Manager SFTP Host: eden.rutgers.edu Server Type: SFTP User: Your Eden Userame Password: Your Eden Password

FTP – File Transfer Protocol : Filezilla Site Manager Local Absolute Path \ Remote Absolute Path /

Directory and File Permissions Types of Permissions Read : for being able to read the file/directory Write : for being able to write in the file/directory Execute : for being able to access the file/directory Who are Permissions set for? Owner : you Group : group you belong to (e.g., LIS department, etc) Others : the rest of the world

Directory and File Permissions (cont.) Want a File to Save/Upload on your eden account but others can not see/access it then you should have the following Owner - Read(Yes) Write(Yes) Execute(Yes) Group - Read(No) Write(No) Execute(No) Others - Read(No) Write(No) Execute(No) 700

Directory and File Permissions (cont.) Want people to Access and View your files (such as your web page which will be stored in directory “public_html”) you should have the following set up Owner - Read(Yes) Write(Yes) Execute(Yes) Group - Read(Yes) Write(No) Execute(Yes) Others - Read(Yes) Write(No) Execute(Yes) 755

Difference between FTP and HTTP FTP – File Transfer Protocol Protocol used to upload files from a workstation to a FTP server or download files from a FTP server to a workstation. FTP is a two-way system as files are transferred back and forth between server and workstation. When ftp appears in a URL it means that the user is connecting to a file server and not a Web server and that some form of file transfer is going to take place. HTTP –Hyper Text Transfer Protocol Protocol used to transfer files from Web server to Browser to view a Web page. Unlike FTP, where entire files are transferred from one device to another and copied into memory, HTTP only transfers the contents of a web page into a browser for viewing. HTTP is a one-way system as files are transported only from the server onto the workstation's browser. When http appears in a URL it means that the user is connecting to a Web server and not a file server. The files are transferred but not downloaded, therefore not copied into the memory of the receiving device.

Compare HTML source with Web page Demo – View Source Use Web Browser to find page: http://comminfo.rutgers.edu/~aspoerri/Teaching/InfoTech/Lectures/Lec3/Steps/notes.html Use “Page” menu in IE select “View Source” or “Tools” menu in Firefox select “Web Developer > Page Source” Opens window with source code Compare HTML source with Web page Observe how each effect is achieved

Create Directory on desktop called “550” Demo - Steps Create Directory on desktop called “550” Make sure at the end of class you upload it on your eden account since it is deleted when you logoff Go in that directory Open New File with Notepad++ / TextWrangler Save as Save as type – All files (otherwise saves it as .txt by default) File name - test.html Download the class HTML notes (notes.html) from class web page Practice HTML by editing test.html page

Use lowercase filenames Tips Save Early, Save Often, just Save! Reload Browser to see changes File naming No spaces in filenames Punctuation matters Use lowercase filenames

Upload your work to Your Eden Account Demo – Steps (cont.) Upload your work to Your Eden Account Content needs to be in public_html directory If you place “test.html” directly in public_html directory you can see it http://eden.rutgers.edu/~yourusername/test.html If you place an entire directory “550” in public_html http://eden.rutgers.edu/~yourusernamelogin/550 you will see the contents of directory If the 550 directory contains the file “test.html” and you want to see just that http://eden.rutgers.edu/~yourusernamelogin/550/test.html

Username and/or Folder URL & Eden – Key Ideas Want to see public web pages of specific user on Eden Need to know Server Address Username and/or Folder Where are public web pages physically stored on server? public_html What is the URL so that you can access it via Browser? http://serveraddress/~username Why is public_html is not part of URL?