Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

Standards and Increasing Maintainability on Web- based Systems James Eaton SE4112/16/2006.
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
Principles of Web Design 5th Edition
Project 1 Introduction to HTML.
Tutorial 9 Working with XHTML
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
XHTML 16-Apr-17.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
Chapter 1 Understanding the Web Design Environment
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Developing a Basic Web Page with HTML
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
1st Project Introduction to HTML.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Chapter ONE Introduction to HTML.
Chapter 1 Variables in the Web Design Environment.
Chapter 1 Variables in the Web Design Environment
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Creating Web Pages with HTML
Creating a Simple Page: HTML Overview
Principles of Web Design 6 th Edition Chapter 1 – HTML5.
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
Creating a Basic Web Page
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Web Site Design Principles
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.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
XHTML1 Building Document Structure Chapter 2. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML)
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.
3 XHTML.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
XHTML1 Introduction to Web Pages Chapter 1. XHTML2 Objectives In this chapter, you will: Learn about the World Wide Web (WWW) Create simple Hypertext.
XHTML and CSS Session 1 Intro, (X)HTML, CSS, W3C, browsers, webpage, structure, tags, attributes, elements, web development process, basic XHTML elements.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
CSS THE MISSING MANUAL Introduction. Benefits of CSS Style sheets offer more formatting choices than are offered in straight HTML  EXAMPLE: When you.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
XHTML1 Introduction to Web Pages N100 Building a Simple Web Page.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Project 1 Introduction to HTML.
Project 1 Introduction to HTML.
Web Programming– UFCFB Lecture 9
Introducing HTML & XHTML:
Structuring Content in a Web Document
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Web Programming– UFCFB Lecture 9
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition

1-2 Describe the current state of HTML Move from HTML to XHTML Use good coding practices Describe browser compatibility issues Consider connection speed differences Code for multiple screen resolutions Address operating system issues Objectives

Principles of Web Design, 4th Edition1-3 The Current State of HTML

Principles of Web Design, 4th Edition1-4 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to represent simple document structure Uses hypertext to link related topics Designed for use over the Internet The Web has outgrown the capabilities of HTML

Principles of Web Design, 4th Edition1-5 HTML and the World Wide Web Consortium The World Wide Web Consortium (W3C) is the standards organization for the Web Founded in 1994 at MIT The W3C looks to expand and set standards for the many new Web technologies

Principles of Web Design, 4th Edition1-6 Using HTML for Structure HTML is a structured markup language that lets you identify common sections of a document The HTML markup tags indicate how the document sections appear in a browser The browser interprets the HTML markup elements and displays the results, hiding the actual markup tags from the user

Principles of Web Design, 4th Edition1-7 Using HTML for Structure (continued) HTML is an open, nonproprietary, cross- platform compatible language HTML is not a What You See Is What You Get (WYSIWYG) layout tool HTML was intended only to express logical document structure, not display characteristics

Principles of Web Design, 4th Edition1-8

Principles of Web Design, 4th Edition1-9

Principles of Web Design, 4th Edition1-10 Using Style Sheets for Presentation Style sheets let you separate display information from content Separating display information lets you repurpose your content for multiple destinations

Principles of Web Design, 4th Edition1-11

Principles of Web Design, 4th Edition1-12 Cascading Style Sheets (CSS) is a powerful display language for HTML CSS lets you state style rules in an external style sheet that is linked to every page on a Web site CSS lets you easily control the display characteristics of your Web site Newer browsers offer more complete CSS support Using Style Sheets for Presentation (continued)

Principles of Web Design, 4th Edition1-13 Organizing Information with Hypertext Information is linked on the Web using hypertext, a nonlinear way of organizing information Web users can quickly jump from one related topic to another As a hypertext author, you determine which terms to create as hypertext links

Principles of Web Design, 4th Edition1-14 Moving from HTML to XHTML

Principles of Web Design, 4th Edition1-15 A Brief Introduction to XML XML has no predefined elements such as or XML is a metalanguage – a language that lets you create your own markup elements to meet your information needs XML code looks very similar to HTML code

Principles of Web Design, 4th Edition1-16 Benefits of Moving to XHTML XHTML is a reformulation of HTML 4.01 in XML Brings data-handling benefits of XML to HTML Style sheets are required Stricter syntax rules 3 “flavors”: Strict, Transitional, Frameset

Principles of Web Design, 4th Edition1-17 XHTML Syntax Rules Documents must be well-formed Elements must nest correctly XML is case sensitive End tags are required Empty elements are signified by a closing slash Attribute values must be quoted

Principles of Web Design, 4th Edition1-18 Style Sheets are Required Because XHTML is an application of XML, you must use style sheets to render presentation information in XHTML The following two style sheet languages are currently available for use with XML or XHTML: –Cascading Style Sheets (CSS) –Extensible Style Language (XSL)

Principles of Web Design, 4th Edition1-19 Migrating from HTML to XHTML Evaluate existing code Evaluate existing display information Create coding conventions Start using CSS Test for backward compatibility

Principles of Web Design, 4th Edition1-20 HTML editors interpret tags based on their own built-in logic You’ll probably end up working with a combination of tools to create your finished pages Choosing an HTML Editor

Principles of Web Design, 4th Edition1-21 You can create or generate HTML code to build Web pages in many ways Many sites on the Web are coded using simple text editing tools such as Notepad Many different HTML editing programs are available Choosing an HTML Editor (continued)

Principles of Web Design, 4th Edition1-22 Using Good Coding Practices

Principles of Web Design, 4th Edition1-23 Stick to the Standards Follow the standards set by the World Wide Web Consortium Separate content structure from presentation information Content that is designed to standards displays more consistently in multiple browsers

Principles of Web Design, 4th Edition1-24 Use Semantic Markup Semantic markup is descriptive markup that identifies the intended use of different document sections Semantic markup accurately describes each piece of content – a signifies a paragraph, a is for a lengthy quotation, and so on

Principles of Web Design, 4th Edition1-25 Choose the Correct Document Type When you choose a document type, you are pointing to a set of rules called Document Type Definition (DTD) DTDs contain all the elements, attributes, and usage rules for the markup language you are using Three document types, or “flavors,” of both HTML and XHTML are available: –Strict –Transitional –Frameset

Principles of Web Design, 4th Edition1-26

Principles of Web Design, 4th Edition1-27 Validate Your Code Valid code conforms to the rules of the W3C Valid code enhances browser compatibility, accessibility, and exchange of data Use a software program called a validator to read your code and compare it to the rules in the DTD

Principles of Web Design, 4th Edition1-28 Validate Your Code (continued) The most common mistakes that make your code invalid include: –No doctype declaration –Missing closing tags, most commonly on paragraphs –Missing alt attributes in elements –Incorrect tag nesting –Unquoted attributes

Principles of Web Design, 4th Edition1-29 Browser Compatibility Issues

Principles of Web Design, 4th Edition1-30 Browser Compatibility Guidelines Follow W3C standards Validate your code Know your audience Test your work in multiple browsers

Principles of Web Design, 4th Edition1-31 Considering Connection Speed Differences

Principles of Web Design, 4th Edition1-32 Considering Connection Speed Differences A majority of U.S. computer users now have high-speed access to the Web Approximately one-quarter still access the Web with a dial-up modem Strive to keep page designs simple enough for the pages to load quickly The number of graphics on your Web pages is the single biggest factor influencing the speed at which pages are rendered

Principles of Web Design, 4th Edition1-33

Principles of Web Design, 4th Edition1-34 Working with the Cache to Improve Download Time The cache is the temporary storage area for Web pages and images The browser always tries to load images and files from the cache Make use of the cache by reusing images as much as possible

Principles of Web Design, 4th Edition1-35 Designing for Multiple Screen Resolutions

Principles of Web Design, 4th Edition1-36 Coding for Multiple Screen Resolutions A computer monitor’s screen resolution is the horizontal and vertical width and height of the computer screen in pixels The most common screen resolution (traditionally expressed as width x height) is 1024 x 768 User screen resolution is a factor over which you have no control

Principles of Web Design, 4th Edition1-37 Fixed Design As the screen resolution changes, the content remains aligned to the left side of the page

Principles of Web Design, 4th Edition1-38

Principles of Web Design, 4th Edition1-39

Principles of Web Design, 4th Edition1-40 Flexible Design As the screen resolution changes, the content expands to accommodate the varying screen width

Principles of Web Design, 4th Edition1-41

Principles of Web Design, 4th Edition1-42

Principles of Web Design, 4th Edition1-43 Centered Design As the screen resolution changes, the Web page stays centered in the browser window, splitting the remaining space into equal amounts on the left and right side of the browser window

Principles of Web Design, 4th Edition1-44

Principles of Web Design, 4th Edition1-45

Principles of Web Design, 4th Edition1-46 Operating System Issues Monitors and displays software Browser versions Font choices

Principles of Web Design, 4th Edition1-47 Summary Use Cascading Style Sheets Decide whether to code to the XHTML standard Use good coding practices Choose the type of editing tool you will use to create your code Choose the suite of browsers you will use to test your site

Principles of Web Design, 4th Edition1-48 Summary (continued) Decide how browser-specific your site will be Resolve to continually test your work as you build your site Test with multiple browsers, at different screen resolutions, and at different connection speeds If you can, try to view your site on multiple platforms such as PC and Macintosh as well