George Mason University

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

3.02D HTML Overview 3.02 Develop webpages.
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
Web Development & Design Foundations with XHTML
WeB application development
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
XHTML Basics.
Images, Tables, lists, blocks, layout, forms, iframes
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
Computing Concepts Advanced HTML: Tables and Forms.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Creating Web Page Forms
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Code. What we will cover Basic HTML Body Font Images Hyperlinks Tables Frames.
Chapter 14 Introduction to HTML
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Module 5 HTML: An Introduction. ●A language to describe and create web pages. ●Stands for: Hyper Text Markup Language What is HTML?
Create a Website Session I Key Components Hands-on HTML.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
DAT602 Database Application Development Lecture 14 HTML.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
Web Technologies Website Development Trade & Industrial Education
HTML BASICS Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
Website Development with Dreamweaver
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
IST 210: PHP BASICS IST 210: Organization of Data IST210 1.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Introduction to HTML. What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout.
1 Welcome to CSC 301 Web Programming Charles Frank.
HTML: Hyptertext Markup Language Doman’s Sections.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
INP 150: Basic HTML Term: Winter 2002 Section: H1 Time: Mon/Wed 5:30- 7:25 pm Place: TI237 Instructor: Paul J. Millis.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Creating Databases applications for the Web: week 2 Basic HTML review, forms HW: Identify unique source for asp, php, Open Source, MySql, Access.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 2: Introduction to IS2803 Rob Gleasure
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
IST 210: PHP Basics IST 210: Organization of Data IST2101.
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.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
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.
CISC103 Web Development Basics: Web site:
Department of Computer Science, Florida State University
CISC103 Web Development Basics: Web site:
Teaching slides Chapter 6.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
CIS 133 mashup Javascript, jQuery and XML
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Presentation transcript:

George Mason University IT 207: Web Architectures George Mason University

Legend Icon Description Text Style Description text Important Information. Covers key concepts and basic comprehension. Discussion Topic. Think about the proposed question and discuss it with others. Extended Discovery. Modify the existing code to practice programming and consider other real-world implementations. Be Careful. Advice to avoid common pitfalls. Text Style Description text Hyperlink to outside sources Code excerpts Code coloring is based on using Notepad++ for Windows. Familiarize yourself with the color scheme of whatever text editor you choose.

Overview Web Architectures XHTML Review Web Publishing

Client/Server Architecture How do IP addresses and the Domain Name System (DNS) fit into web architectures? Accessing a webpage is the process of requesting file(s) from a server and the server sending the appropriate file(s) Explain where XHTML, CSS, PHP, MySQL are handled

Dynamic Web Page Architecture HTML is interpreted by the client (the web browser). PHP is interpreted on the server into HTML, which is sent to the client Hence, HTML is client-side and PHP is server-side. Figure 1-3: How dynamic web pages are processed, Murach's PHP and MySQL. Databases are a service on web servers. The use of databases is a server-side functionality

XHTML Review 3 DOCTYPES: Strict Transitional Frameset <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Webpage Title</title> </head> <body> <h1>Hello World</h1> </body> </html> 3 DOCTYPES: Strict Transitional Frameset The <head> section contains content not displayed in the browser’s main body All visible content is placed in the <body> section The DOCTYPE specifies what tags are allowed HTML is used to “mark-up” or format content Cascading Style Sheets are meant to control styling

XHTML DOCTYPE Strict Transitional Frameset <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Transitional <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Frameset <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> Strict the preferred DOCTYPE for the course. Why is strict preferred over transitional?

XHTML Review Container tags have opening and closing tags <hr /> is an empty tag. It has no closing tag. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Webpage Title</title> </head> <body> <h1>Hello World</h1> <hr /> <p>Welcome to my webpage. Click <a href="http://www.gmu.edu">here</a> to visit my school.</p> </body> </html> HTML tags are made up of an element and attribute(s). The element is the name of the tag Attributes are characteristics to format an element

XHTML Review <table border="1" cellpadding="5"> <tr> <th colspan="3">Information</th> </tr> <th>Name</th> <th>Age</th> <th>Contact Method</th> <td>John Doe</td> <td>25</td> <td>Email</td> </table> Tables are created row by row, they cannot be made column by column The colspan attribute stretches a cell across multiple columns. What is the attribute to stretch a cell across multiple rows?

Validating XHTML Documents Unlike compiled languages such as Java, HTML will still display with errors. Validating HTML code checks for errors http://validator.w3.org/#validate_by_input Using the Direct Input method, copy and paste your XHTML into the form and click “Check” to validate

Understanding the Validator Error Explanation no document type declaration There is an error with the DOCTYPE in the beginning of the HTML document end tag omitted For container tags, the closing tag is missing. For empty tags, the forward slash is missing document type does not allow element here There are two types of elements: block level and inline level. Inline elements such as <a> or <img> must be inside a block level element such as <p> or <h1> required attribute “alt” not specified Image tags require the alt attribute. The alt attribute is a written description of the image used by screen readers for visual impairment there is no attribute Some attributes have been deprecated and are no longer valid. Style related attributes such as width and height are commonly deprecated.

Accessing Zeus/Helios Server STEP Description 1 Go to http://labs.ite.gmu.edu/index.php/Services/VPN, download both OpenVPN and the VPN configuration zip file. Install OpenVPN and complete the directions for configuration on the website. 2 Go to https://itservices.gmu.edu/downloads/, download and install Secure Shell (Windows) or Cyberduck (OSX) depending on your operating system. 3 Open your file transfer client and enter the following information: Host: zeus.ite.gmu.edu User: GMU user name Password: GMU email password 4 Double-click the folder “helios_html” shown on the right-hand side column. 5 Create the directory “IT207”. Double-click the IT207 folder to enter it. 6 Create the directories “lab1” through “lab10”, “examples”, “project”, “exam”

Publishing Your XHTML Page Log in using SSH zeus.ite.gmu.edu | Port 22 | GMU username | GMU email password Drag/Drop file(s) into directory Keep track of the directory used Ex: helios_html > IT207 > examples Set permissions appropriately Request file from web server on browser http://helios.ite.gmu.edu/~username/ Ex: http://helios.ite.gmu.edu/~jdoe/IT207/examples/index.html From the root directory, include directories used and the file name

The Coding Process Do not write large sections of code without checking. Work in small sections and check frequently. The smaller the section, the sooner mistakes are identified and the easier it is to find the location of the mistake. Code Upload Test Debug/Revise

Recap The web is built in a client/server architecture HTML is client-side PHP is server-side Databases are server-side Web servers are organized by directories XHTML is a mark-up language used to describe content Validating XHTML is the process of checking the code against the standards outlined in the document type definition