Chapter 1. Introduction to web development



Similar documents
Introduction to web development and JavaScript

Chapter 1 Introduction to web development and PHP

Introduction to web development

Contents. Introduction Downloading the Data Files... 2

Web Development. How the Web Works 3/3/2015. Clients / Server

Instructor: Betty O Neil

Web Design Technology

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

WEB DEVELOPMENT IA & IB (893 & 894)

IT3503 Web Development Techniques (Optional)

Beginning Dreamweaver Zac Van Note

IT3504: Web Development Techniques (Optional)

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

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

By : Khalid Alfalqi Department of Computer Science, Umm Al-Qura University

Dreamweaver CS5. Module 1: Website Development

ERIE COMMUNITY COLLEGE COURSE OUTLINE A. COURSE TITLE: CS WEB DEVELOPMENT AND PROGRAMMING FUNDAMENTALS

Web Programming. Robert M. Dondero, Ph.D. Princeton University

Lesson 7 - Website Administration

CST 150 Web Design I CSS Review - In-Class Lab

Setting Up a Development Server

Dreamweaver CS5. Module 2: Website Modification

HTML and CSS. Elliot Davies. April 10th,

Web Hosting Training Guide. Web Hosting Training Guide. Author: Glow Team Page 1 of 22 Ref: GC349_v1.1

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

Designing HTML s for Use in the Advanced Editor

A Comparative Study of Web Development Technologies Using Open Source and Proprietary Software

Introduction to Dreamweaver

Macromedia Dreamweaver 8 Developer Certification Examination Specification

Web. Programming. Hans- Pe0er Halvorsen, M.Sc. h0p://home.hit.no/~hansha/?page=sojware_development

Microsoft Expression Web Quickstart Guide

ICAWEB502A Create dynamic web pages

Trollhättan, Sweden

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Fast track to HTML & CSS 101 (Web Design)

Web Hosting Training Guide. Web Hosting Training Guide. Author: Glow Team Page 1 of 28 Ref: GC278_v1.1

Introduction to Web Technologies

COURSE CONTENT FOR WINTER TRAINING ON Web Development using PHP & MySql

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

Web Programming Languages Overview

Web layout guidelines for daughter sites of Scotland s Environment

Web Development I & II*

ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT

How to code, test, and validate a web page

Web Design Specialist

Advanced Web Design. Zac Van Note.

Server-Side Scripting and Web Development. By Susan L. Miertschin

Coding Standards for Web Development

A send-a-friend application with ASP Smart Mailer

Pemrograman Web. 1. Pengenalan Web Server. M. Udin Harun Al Rasyid, S.Kom, Ph.D

Lesson Overview. Getting Started. The Internet WWW

ITP 101 Project 3 - Dreamweaver

4.2 Understand Microsoft ASP.NET Web Application Development

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS WEB DESIGN III: ADVANCED SITE DESIGN WEB 2812

This document is for informational purposes only. PowerMapper Software makes no warranties, express or implied in this document.

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

California State University Polytechnic University. CIS 311 Interactive Web Development. Fall 2011

Base template development guide

Deepak Patil (Technical Director) iasys Technologies Pvt. Ltd.

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

Table of contents. HTML5 Data Bindings SEO DMXzone

TIME SCHEDULE OBJECTIVES

Prerequisite: CGA 101, or written permission of instructor.

4 Understanding. Web Applications IN THIS CHAPTER. 4.1 Understand Web page development. 4.2 Understand Microsoft ASP.NET Web application development

Automation using Selenium

Quick Reference Guide: Shared Hosting

Kentico CMS, 2011 Kentico Software. Contents. Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1

SPLIT BLOCK FINAL Web Design

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

Blueball Design Dynamic Content 2 Stack Readme Manual v1.0

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

WebEdit Professional v5.0 Installation and Developer Guide Release Date 01 May 2003

Credits: Some of the slides are based on material adapted from

IAS Web Development using Dreamweaver CS4

Learnem.com. Web Development Course Series. Quickly Learn. Web Design Using HTML. By: Siamak Sarmady

WEB DESIGN COURSE CONTENT

CTIS 256 Web Technologies II. Week # 1 Serkan GENÇ

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Dashboard Builder TM for Microsoft Access

Outline. CIW Web Design Specialist. Course Content

Release 1. ICAPRG604A Create cloud computing services

WEB PAGE DESIGN AND DEVELOPMENT 2 COURSE CODE: 5033 (COURSE NAME CHANGES TO ADVANCED WEB DESIGN AND DEVELOPMENT IN )

CS134 Web Site Design & Development. Quiz1

Information Technology Career Cluster Web Development Course Number: Course Standard 1

Connecting with Computer Science, 2e. Chapter 5 The Internet

Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella

Requirements for Developing WebWorks Help

Web Browsing Examples. How Web Browsing and HTTP Works

Tutorial 6 Creating a Web Form. HTML and CSS 6 TH EDITION

Roars. Sudaworld. M roarsinc.com W Roars Technologies Pvt. Ltd. Escalon, Sunnyvale, California, USA 94085

Introduction to Web Development

Transcription:

Chapter 1 Introduction to web development HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 1

Objectives Applied 1. Load a web page from the Internet or an intranet into a web browser. 2. View the source code for a web page in a web browser. HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 2

Objectives (continued) Knowledge 1. Describe the components of a web application. 2. Distinguish between the Internet and an intranet. 3. Describe HTTP requests and responses. 4. Distinguish between the way a web server processes static web pages and dynamic web pages. 5. Describe the use of JavaScript. 6. Name the two major web browsers for Windows systems. 7. Distinguish between HTML and CSS. 8. Distinguish between HTML and XHTML. 9. Explain how you deploy a web site on the Internet. 10. Describe the components of an HTTP URL. HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 3

The components of a web application HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 4

The architecture of the Internet LAN LAN LAN LAN LAN WAN IXP WAN LAN LAN WAN IXP IXP WAN LAN LAN LAN LAN LAN HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 5

A static web page HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 6

How a web server processes a static web page HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 7

A dynamic web page HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 8

How a web server processes a dynamic web page HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 9

A web page with image swaps and rollovers HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 10

How JavaScript fits into this architecture HTTP request HTTP response Web Browser Web Server Application Server Database Server JavaScript Application script HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 11

Three of the common uses of JavaScript Data validation Image swaps and rollovers Slide shows HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 12

Web browsers Internet Explorer Firefox Safari Opera Chrome Web servers Apache IIS HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 13

Server-side scripting languages ASP.NET JSP PHP ColdFusion Ruby Perl Python HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 14

The code for an HTML file named book.html <head> <title>javascript book</title> </head> <body> <div id="page"> <h1>javascript and DOM Scripting</h1> <img src="javascriptbook.jpg" alt="javascriptbook" /> <p>today, web users expect web sites to provide advanced features, dynamic user interfaces, and fast response times. To deliver that, web developers need to know the JavaScript language. Beyond that, though, they need to know how to use JavaScript to script the Document Object Model (or DOM).</p> <p>now, at last, your trainees can learn both JavaScript and DOM scripting in this one great book. To find out how this book does it, <a href="">read more...</a></p><br /><br /> </div> </body> HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 15

The HTML in a web browser HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 16

The HTML element that links it to a CSS file <link rel="stylesheet" type="text/css" href="book.css" /> HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 17

The code for the CSS file named book.css body { margin: 0 0; font-family: Arial, Helvetica, sans-serif; font-size: 82.5%; } #page { width: 500px; margin: 0 auto; padding: 1em; border: 1px solid navy; } h1 { margin: 0; padding:.25em; font-size: 250%; color: navy; } HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 18

The code for book.css (continued) img { float: left; margin: 0 1em; } p { margin: 0; padding-bottom:.5em; } HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 19

The web page in a web browser HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 20

HTML vs. XHTML By default, all pages are sent to the browser, or served, as HTML. Because the syntax of XHTML is stricter than the syntax of HTML, XHTML encourages good coding practices. What version of HTML we use in this book In this book, we use a form of XHTML 1.0 that is compatible with HTML 4.01. This works for all browsers including Internet Explorer because XHTML 1.0 is backward-compatible with HTML 4.01. HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 21

Notepad++ with open HTML and CSS files HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 22

Popular text editors that are free Editor Notepad++ TextWrangler Komodo Edit Runs on Windows Macintosh Windows, Macintosh, and Linux/UNIX HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 23

Adobe DreamWeaver HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 24

Popular IDEs for web development IDE Adobe DreamWeaver Komodo IDE Microsoft Expression Web Runs on Windows and Macintosh Windows, Macintosh, and Linux/UNIX Windows Popular suites for web development IDE Runs on Adobe Creative Suite Windows and Macintosh Microsoft Expression Studio Windows HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 25

FTP program that uploads files to the web server HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 26

Popular FTP programs FileZilla FTP Voyager CuteFTP Fetch HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 27

The components of an HTTP URL HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 28

http://www.riverparkway.org/default.asp HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 29

What happens if you omit parts of a URL If you omit the protocol, the default of http:// will be used. If you omit the filename, the default document name for the web server will be used. If you omit the path, you must also omit the filename. Then, the home page for the site will be requested. HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 30

Two ways to access a web page on the Internet Enter the URL of a web page into the browser s address bar. Click on a link in the current web page to load the next web page. How to access a web page on your own computer With IE, use File Open. With Firefox, use File File Open. HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 31

The HTML source code for a page HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 32

How to view the HTML source code for a page In Firefox, use the View Page Source command. In Internet Explorer, use the View Source command. How to view the CSS code in an external CSS file In Firefox, click on the link in the link element that refers to it. In Internet Explorer, enter the URL for the CSS file in your web browser. HTML, XHTML, and CSS, C1 2010, Mike Murach & Associates, Inc. Slide 33