ICT 6012: Web Programming



Similar documents
BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Introduction to XHTML. 2010, Robert K. Moniot 1

CSE 3. Marking Up with HTML. Tags for Bold, Italic, and underline. Structuring Documents. An HTML Web Page File

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS ( )

The Web Web page Links 16-3

Website Planning Checklist

Creating HTML authored webpages using a text editor

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1

HTML, CSS, XML, and XSL

TIME SCHEDULE OBJECTIVES

Introduction to Web Design Curriculum Sample

Web Design with Dreamweaver Lesson 4 Handout

So we're set? Have your text-editor ready. Be sure you use NotePad, NOT Word or even WordPad. Great, let's get going.

About webpage creation

Short notes on webpage programming languages

HTML Basics(w3schools.com, 2013)

Creating an HTML Document Using Macromedia Dreamweaver

7 th Grade Web Design Name: Project 1 Rubric Personal Web Page

How to Create an HTML Page

JISIS and Web Technologies

AJAX The Future of Web Development?

An Attribute is a special word used inside tag to specify additional information to tag such as color, alignment etc.

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Advanced Web Design. Zac Van Note.

Advanced Drupal Features and Techniques

Chapter 1 Programming Languages for Web Applications

Introduction to Web Technology. Content of the course. What is the Internet? Diana Inkpen

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

HTML TIPS FOR DESIGNING

Basic Website Maintenance Tutorial*

CREATING WEB PAGES USING HTML INTRODUCTION

Internet. Internet is the network of networks i.e. a global network which make WWW (world wide web) Seema Sirpal Delhi University Computer Centre

Creating a Resume Webpage with

Lesson Review Answers

How to Manage Your Eservice Center Knowledge Base

IT3503 Web Development Techniques (Optional)

Internet Technologies_1. Doc. Ing. František Huňka, CSc.

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

IT3504: Web Development Techniques (Optional)

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

1. When will an IP process drop a datagram? 2. When will an IP process fragment a datagram? 3. When will a TCP process drop a segment?

Internet Technologies. World Wide Web (WWW) Proxy Server Network Address Translator (NAT)

Web Design Module Outline

Embedding a Data View dynamic report into an existing web-page

Contents. Downloading the Data Files Centering Page Elements... 6

HTML Forms and CONTROLS

Web Development 1 A4 Project Description Web Architecture

WEB SITE DEVELOPMENT WORKSHEET

Oct 15, Internet : the vast collection of interconnected networks that all use the TCP/IP protocols

Xtreeme Search Engine Studio Help Xtreeme

Web Development I & II*

ITNP43: HTML Lecture 4

Creating Web Pages with Netscape/Mozilla Composer and Uploading Files with CuteFTP

Fig (1) (a) Server-side scripting with PHP. (b) Client-side scripting with JavaScript.

Chapter 27 Hypertext Transfer Protocol


Lecture 2. Internet: who talks with whom?

Introduction to Web Development

Further web design: HTML forms

LAB MANUAL CS (22): Web Technology

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

ICE: HTML, CSS, and Validation

With tags you can create italic or bold characters, and can control the color and size of the lettering.

CS412 Interactive Lab Creating a Simple Web Form

Introduction to Web Technologies

HTML Tables. IT 3203 Introduction to Web Development

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

WEB PROGRAMMING LAB (Common to CSE & IT)

Formatting Text in Blackboard

Multimedia Applications. Mono-media Document Example: Hypertext. Multimedia Documents

10CS73:Web Programming

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief

The World Wide Web: History

ICANWK414A Create a common gateway interface script

XHTML BASICS. Institute of Finance Management CIT Department Herman Mandari

An overview of designing HTML s for Hotmail, Yahoo, Outlook, Lotus Notes and AOL

Fast track to HTML & CSS 101 (Web Design)

Course Duration: One hour Theory and 3 hours practical per week for 15weeks. As taught in 2010/2011 Session

COMMON CUSTOMIZATIONS

What is HTML? a)hyper Text Marking Language b) Hyper Text Machine Language c)hyper Text Middle Language d)hyper Text Markup Language

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

WEB DEVELOPMENT IA & IB (893 & 894)

Transcription:

ICT 6012: Web Programming Covers HTML, PHP Programming and JavaScript Covers in 13 lectures a lecture plan is supplied. Please note that there are some extra classes and some cancelled classes Mid-Term - I is scheduled on 08/01/2003 Mid-Term-II is on 29/01/2003 Final Examination is on 19/03/2003

Growth of the Internet Number of Hosts on the Internet 1969 : 4 1973 : 35 1977 : 111 1981 : 213 1985 : 1961 1989 : 159,000 1993 : 2,056,000 1997 : 10,540,000

History of WWW 1n 1991, the World Wide Web (WWW) was released by CERN, the European Particle Physics Laboratory. 1993, Mosaic, the first popular web browser, developed at the National Center for Supercomputing Applications (NCSA) 1n 1994, Netscape was formed and began rapidly developing Navigator web browser.

Growth of the WWW Number of Web Servers on the Internet: 1993 : 623 1994 : 10,022 1995 : 23,500 1996 : 603,367 1997 : 1,681,866 1998 : 3,689,277 1999 : 9,560,866 2000 : 22,282,727 2001 : 31,299,592

Web Programming Static Web Pages Dynamic Web Pages Server Side Dynamic Web Pages Client Side

Static Web Pages HTML Hyper Text Markup Language Essentially allows for three-dimensional text Inherently static information, not dynamic

Static Web Pages HTTP Hyper Text Transfer Protocol HTTP is used specially for the communication of HTML documents HTTP provides the WWW, Just one capability of the Internet

Static Web Pages URL Uniform Resource Locator <protocol>://<server name>/<file or path on server> e.g., http://www.yahoo.com/index.html Server name identified by the DNS Each part of the name identifies a domain (e.g., www, yahoo, com) Suffixes such as.com are called top-level domains

Static Web Page Server Ports Actually one physical connection to a Server, but a number of virtual connections known as ports Some port numbers are standard, and many others are available for general use: ftp : port 21 telnet : port 23 finger : port 79 SMTP : port 25 HTML : port 80

Dynamic Web Pages Server Side Web pages can be dynamic by actions performed by the server Historically, before Java, the only way to have dynamic web pages was by running code on the server

Dynamic Web Pages Server Side CGI Common Gateway Interface A method that lets web pages communicate with programs on an HTTP server The running of a program in a special directory on the server (e.g., /cgi-bin), which processes information to be included on the web page returned to the client Can be written in any language (e.g., Perl, C, Java)

Dynamic Web Pages Client Side Historically, Java was the first way to include dynamic content in web pages executed on the client side, by use of applets, small downable Java Programs. There are number of ways now to produce dynamic HTML, HTML with some added actions.

Dynamic Web Pages Client Side JavaScript One way is to use JavaScript. JavaScript is a Scripting Language embedded into HTML so that actions can occur. JavaScript is actually not very similar to Java. JavaScript was developed by Netscape, whereas Java was developed by Sun Microsystems.

Dynamic Web Pages Client Side Java Applets Applets also adds dynamic content to web pages. Applets run in a protected environment on the client (within a sandbox ) Not allowed to access files of server that it came from.

Dynamic Web Pages Client Side Comparison of Java Applets and Java Scripts Applets can communicate back to the server. JavaScript cannot communicate back to the server. JavaScript is loaded as the web page is being loaded. Java applets are loaded after a web page is loaded.

HTML Overview HyperText Markup Language is the Language used to create web documents. Special Instructions (tags) mark up the text to create web documents. These tags are not displayed but rather tell the browser how to display the contents of the document. HTML standards are developed under the authority of the World Wide Web Consortium (W3C). The Current recommended version of HTML is 4.01.

General HTML Features Content tags e.g., <title>.. </title> Scripting Code e.g., JavaScript Images and Image Maps Absolute Positioning Forms Frames

3 types of HTML Content Comments <! --- comment -- Tags Most tags are content-based e.g.,<title> Document Title </title> Some tags are physical style tags e.g. <b> bold text </b> Text

Basic HTML Syntax General Form of Tags <tag> or <tag attribute> Attributes may have values e.g., <hr width- 35% align=right> Most tags delimit a region of text and have a start and end tag e.g., <b> bold text </b> End tags never contain attributes Tags can be nested using multiple tags to achieve a desired effect on a single element e.g., <b><i> bold italic text </i><b>

Document Structure HTML documents are divided into 2 major portions: HEAD Contains information about the document such as its title and meta information HEAD information is not displayed in the browser window when page is loaded Mainly used for helping search engines with page descriptions Content of the HEAD section are run first by the browser Can contain other elements for adding JavaScript or style sheets BODY Contains the actual contents of the document (the part shown in browser window

HTML Skeleton <html> <head> <title> Document Title</title> </head> <body> Contents of Document </body> </html>

Skeleton Tag Definitions <Html> Tells the browser the document is composed in HTML. HTML standard requires that the entire document appears within the <HTML> container. <HEAD> Contains information about the document. It has no attributes but serves as a container for other header tags such as <META> and <BASE>. <TITLE> Specifies the title of the document. It appears in the top of the browser window. <BODY> Attributes to this tag affect the entire document.

Background Color & Images <body bgcolor= #FF0000 >, using RRGGBB <body bgcolor= peach >, using named colors <body background= URL >, For an image file specified in the URL

Special Characters e.g., < Cannot use as part of text Must use < for < In general, use &char name; for special characters

Information Ignored by Line Breaks Browsers Text elements wrap until they encounter <BR> or <P> Tabs and Multiple Spaces Can add space to the flow of an HTML document by using the non-breaking space character entirely ( ) Use of the <PRE> tag will allow for the display of multiple spaces in general text Comments

Heading & Spacing White spaces generally ignored Text braks <P> paragraph <BR> line break Heading Tags <H1>.<H6> Horizontal Lines <hr> Performatted Text Spaced and formatted exactly as typed Others <table>, <blockquote>

Character Fonts <FONT COLOR= RED > red text </FONT> <FONT SIZE= +1 >text one size bigger than default</font> <FONT FACE= arial, courier> arrial first choice text</font>

Lists Unordered Lists <UL>.</UL> Ordered lists <OL> </OL> Definition lists<dl> </DL> Unordered/Ordered use <li> <ul> <li> first item <li> second item </ul> Can specify the style and numbering of lists with tag attributes Definition lists use <dt> and <dd>

Hyperlinks Anchor tag <a> is used to provide a link Link may be a URL <a href=http://www.buet.ac.bd> link text </a>

Hyperlinks Links may be within same document <a name= Applet Section > <a href= #Applet Section > link text </a> Name after # a fragment identifier Can link to section of another document <a href=http://www.buet.ac.bd/department#eee section> link text </a>