COS 125 Internet Fundamentals and Web Page Design Day 11.

Slides:



Advertisements
Similar presentations
3.02B Authoring Languages 3.02 Develop webpages..
Advertisements

Web Development & Design Foundations with XHTML
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
COS 125 Internet Fundamentals and Web Page Design Day 3.
Cascading Style Sheets
Creating Pages in XHTML
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
XHTML 16-Apr-17.
XHTML1 Building Document Structure. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML) documents.
Using Cascading Style Sheets CSS Basics. Goals Understand basic syntax of Cascading Style Sheets (CSS) Understand basic syntax of Cascading Style Sheets.
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
COS 125 Day 13. Agenda Capstone Projects Proposals Over Due Timing of deliverables is 10% of Grade Still missing two First Capstone Progress Report Due.
COS 125 Day 13. Agenda Capstone Progress Reports Due Quiz #2 Graded 7 A’s, 3 B’s, 3 C’s and 1 no-take Assignment #3 due this Friday We review some of.
COS 125 DAY 5. Agenda Questions from last Class?? Assignment #2 posted Due Feb 15 We will discuss in class Capstone proposals due Feb 15 Suggestion is.
COS 125 Internet Fundamentals and Web Page Design Day 12.
COS 125 DAY 15. Agenda Second Capstone Progress Report Due Mar 24 Assignment #4 assigned –Due Thursday, March 24 Exam #3 will be on March 24 –Castro Chaps.
COS 125 Internet Fundamentals and Web Page Design Day 11.
COS 125 Internet Fundamentals and Web Page Design Day 11.
HTML, XHTML, CSS, & JAVAScript ~ an introduction ~
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Basics of HTML.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Creating a Simple Page: HTML Overview
Using Cascading Style Sheets. Introduction to Styles and Properties  Cascading Style Sheets (CSS) are a standard set by the World Wide Web Consortium.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
IT Introduction to Website Development Welcome!
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
Web page - A Web page is a simple text file that contains a set of HTML tags (code) that describe (to the browser) what should go on a web page. It may.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
Web Page Design Day 2. Agenda  Questions  Assignment 1 posted Due March 2:05 Pm  Today we begin building web pages Chap 1 of text.
XHTML Introduction to Xtensible HyperText Markup Language Screen Readers – Click the Notes button in the lower right corner.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Internet Web Publishing III. Intro to Cascading Style Sheets Patricia Roberts.
IS1825: Developing Multimedia Applications for Business Lecture 1: Introduction to CSS Rob Gleasure
Introduction to web development and HTML MGMT 230 LAB.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
ECA 228 Internet/Intranet Design I Intro to Markup.
Internet Fundamentals and Web Page Design Day 1. Agenda  Roll Call  Introduction  BlackBoard Overview  Syllabus Review  Classroom contract  Class.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
1 Web Application Programming Presented by: Mehwish Shafiq.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
Louisa Lambregts, Louisa Lambregts
Cascading Style Sheets CSS. Source W3Schools
Week 2: Building a Simple Website IMC 320 Web Publishing Spring 2011.
Cascading Style Sheets
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
IN THIS LESSON, WE WILL BECOME FAMILIAR WITH HTML AND BEGIN CREATING A WEB PAGE IN YOUR COMPUTER HTML – the foundation.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
CSS FOUNDATIONS IN-DEPTH The nitty-gritty of css...
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
 Capstone Proposals Due on Feb 23 › Must be a web site › Capstone Project Description sp 09.htm Capstone Project Description sp 09.htm  Assignment 3.
Basic Web Page Design. Text book: HTML, XHTML, and CSS: Visual QuickStart Guide, Sixth Edition written by Elizabeth Castro. Software: Adobe® Dreamweaver®
Tutorial 3 Adding and Formatting Text. Objectives Session 3.1 – Type text into a page – Copy/paste text from a Word document – Check for spelling errors.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
4.01 Cascading Style Sheets
Using Cascading Style Sheets Module B: CSS Structure
Internet Fundamentals and Web Page Design Day 1
4.01 Cascading Style Sheets
Presentation transcript:

COS 125 Internet Fundamentals and Web Page Design Day 11

Agenda Quiz 2 Graded Quiz 2 Graded 10 A’s, 2 B’s, 2 C’s and 1 D 10 A’s, 2 B’s, 2 C’s and 1 D Much better than Quiz 1 Much better than Quiz 1 Capstone Projects Proposals Over Due Capstone Projects Proposals Over Due Timing of deliverables is 10% of Grade Timing of deliverables is 10% of Grade Still missing two Still missing two First Capstone Progress Report Due Feb 24 First Capstone Progress Report Due Feb 24 Next Class Next Class Assignment 3 posted Assignment 3 posted Due right after Spring Break Due right after Spring Break Today is Introduction to Web Design, Using Dreamweaver and Paint Shop Pro Today is Introduction to Web Design, Using Dreamweaver and Paint Shop Pro

Browser Wars 1994 Netscape 1994 Netscape Created multimedia extensions Created multimedia extensions Became most popular browser Became most popular browser 1996 Microsoft 1996 Microsoft Created its own set of non-standard extensions Created its own set of non-standard extensions For Web designers this became a mess! For Web designers this became a mess! Had to create two of everything Had to create two of everything

Standards HTML 3.2 HTML 3.2 First try at standards First try at standards Ended browser wars except for frames Ended browser wars except for frames HTML4 and CSS HTML4 and CSS Deprecated elements Deprecated elements Cascading Style Sheets Cascading Style Sheets XML and xHTML XML and xHTML XML creates other languages XML creates other languages xHTML is HTML written in XML xHTML is HTML written in XML

Today Webpage Design Webpage Design xHTML, HTML 4.0 and CSS xHTML, HTML 4.0 and CSS >90% Browser Compliance >90% Browser Compliance xHTML xHTML Stronger and more flexible Stronger and more flexible Stricter Stricter 3 Flavors 3 Flavors Transitional Transitional Frameset Frameset Strict Strict

What we are going do Use xHTML & CSS Use xHTML & CSS More current More current More useful for large sites More useful for large sites Learning xHTML means you've learnt HTML too (same vocabulary, different syntax) Learning xHTML means you've learnt HTML too (same vocabulary, different syntax) In Dreamweaver “new document” dialog In Dreamweaver “new document” dialog Check “Make Document XHTML Compliant” Check “Make Document XHTML Compliant” Web Site Web Site

XHTML Elements Attributes and Values Markup Markup Formatting instructions Formatting instructions Details between parts of Documents Details between parts of Documents 3 types 3 types Elements Elements Attributes Attributes Values Values All in ASCII text! All in ASCII text!

XHTML Elements Labels that identify and structure a document Labels that identify and structure a document stuff stuff Stuff can be Stuff can be Text Text Other elements Other elements Empty Empty Examples Examples a header a header emphasis emphasis

Attributes and values Information about the stuff in-between the opening and closing tags Information about the stuff in-between the opening and closing tags stuff stuff Attribute=“value” Attribute=“value” Values are allways in quotes Values are allways in quotes Values are allways in lowercase Values are allways in lowercase Attributes are specific to elements Attributes are specific to elements Can use percentages instead of numbers Can use percentages instead of numbers

Block vs. Inline Some elements are block-level elements and the other are inline Some elements are block-level elements and the other are inline Block-level are structural pieces of the document Block-level are structural pieces of the document Paragraph, headers etc. Paragraph, headers etc. Allways on a new line Allways on a new line Can contain Can contain Block-level elements Block-level elements Inline elements Inline elements text text Inline Inline On the same line On the same line Words Words Can contain Can contain Inline elements Inline elements text text

Parents and children 1 is a parent of 2 & 3 1 is a parent of 2 & 3 2 is a child of 1 2 is a child of 1 3 is a child of 1 3 is a child of 1 2 & 3 are siblings 2 & 3 are siblings

URLs Absolute URLs Absolute URLs Entire path to file Entire path to file Must use if your are referencing a file not on the same server as your web page Must use if your are referencing a file not on the same server as your web page Relative URLs Relative URLs File must be on the same server File must be on the same server../ to go up a directory../ to go up a directory /directory/file.ext to go down a directory /directory/file.ext to go down a directory

Relative URL C:/ web Index.html Star.gif ftp Tony.htm Tony.gif stuff Dog.gif In web page Index.html To refer to star.gif “star.gif” To refer to tony.htm “../ftp/tony.htm” To refer to dog.gif “../stuff/dog.gif”

HTML vs. XHTML XHTML must use XHTML must use XHTML must have closing tag XHTML must have closing tag XHTML is case sensitive (all lowercase) XHTML is case sensitive (all lowercase)

Adding Style Style sheets (CSS) Style sheets (CSS) Selector{property:”value”,…} Selector{property:”value”,…} Declaration -> property:”value” Declaration -> property:”value” More in Chap 8 More in Chap 8 Cascade Cascade What happens when more than one rule applies? What happens when more than one rule applies? Inheritance Inheritance If no rule than inherit from parent element If no rule than inherit from parent element Specificity Specificity If more than one rule applies use the more specific rule If more than one rule applies use the more specific rule Location Location If more than one rule applies and they are are equally specific, than the rule that appears later is used If more than one rule applies and they are are equally specific, than the rule that appears later is used

Property values Each CSS property has rules about what values can be accepted Each CSS property has rules about what values can be accepted Predefined values must NOT be in quotation marks Predefined values must NOT be in quotation marks Length values Length values Number and units Number and units 2em 2 * current font size 2em 2 * current font size 40px forty pixels 40px forty pixels 20cm twenty centimeters 20cm twenty centimeters Percentage Percentage 20% relative to parent unit 20% relative to parent unit URLS URLS url(path/file.ext) url(path/file.ext) Colors Colors 16 predefined names 16 predefined names rgb(%35,35%,35%) rgb(%35,35%,35%) #AAFF66 #AAFF

Working with Web Page Files Design Site Layout Design Site Layout Audience Centered Audience Centered Design a naming convention for pages Design a naming convention for pages Define site navigation Define site navigation Home page Info page Order page Parts Page Contact pages FAQ

Create a web page In dreamweaver In dreamweaver >File >new >File >new Check make document xhtml compliant Check make document xhtml compliant Create page in Code or design mode Create page in Code or design mode >file>save as >file>save as Pick folder and name Pick folder and name

Microsoft Word Can automatically create web pages Can automatically create web pages Problems Problems “bloat” code “bloat” code Proprietary code Proprietary code Good for quick jobs Good for quick jobs Bad for anything that has to be maintained over time Bad for anything that has to be maintained over time

Some general Hints Web Servers Web Servers Most have a system for recognizing “home” pages Most have a system for recognizing “home” pages Index.html or default.htm Index.html or default.htm Find out from Server Administrator Find out from Server Administrator Organize your web projects into folders Organize your web projects into folders Images Images Html pages Html pages Check your pages in browser before uploading to server Check your pages in browser before uploading to server Use the “inspiration of others” Use the “inspiration of others”

Using Dreamweaver

Dreamweaver Tutorials Dreamweaver Seminars Dreamweaver Seminars weaver/productinfo/ondemand/ weaver/productinfo/ondemand/ weaver/productinfo/ondemand/ weaver/productinfo/ondemand/ Dreamweaver Fever Dreamweaver Fever Dreamweaver FAQ.com Dreamweaver FAQ.com

Paint Shop Pro

Paint Shop Pro tutorials Web Graphics on a Budget Web Graphics on a Budget Sumrallworks.com Sumrallworks.com ole/psp/tutorials/link2g.htm ole/psp/tutorials/link2g.htm ole/psp/tutorials/link2g.htm ole/psp/tutorials/link2g.htm PSP Tips From 6 th Dimension PSP Tips From 6 th Dimension

Assignment Create a web page using Dreamweaver Create a web page using Dreamweaver Same info as last time Same info as last time Save as test3.htm Save as test3.htm Ftp to web server Ftp to web server Cos125 assignment3.doc Cos125 assignment3.doc Cos125 assignment3.doc Cos125 assignment3.doc