1 HTML/XHTML Objectives Explain what HTML is and how Web pages use HTML Explain what HTML is and how Web pages use HTML Demonstrate how to create Web pages.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter One World Wide Web Basics.
Advertisements

1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
XHTML Basics.
Project 1 Introduction to HTML.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
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.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
Developing a Basic Web Page Posting Files on UMBC
HTML CS1315 Fall What You Need to Get Started A *simple* text editor to write HTML – Windows: notepad – Mac: textedit (be sure to pick Format 
1st Project Introduction to HTML.
Chapter 14 Introduction to HTML
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
COMPUTERS AND INFORMATION SYSTEMS HTML. How the Web Works To access a web site  Enter its address (URL) in the address box of your browser 
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. 1.
Creating a Simple Page: HTML Overview
Chapter 1 Introduction to HTML, XHTML, and CSS
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.
What Is the Internet? The Internet is a worldwide collection of computer networks that links together millions of computers used by businesses, the government,
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
WWW and HTML. Annoucement n Many people submitted the.vbp file and lost points n Can resubmit the.frm file to my , and get most.
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. Revised 1/12/2015 by William Pegram 1.
Internet publishing Ing. Petr Zámostný, Ph.D. místnost: A-72a tel.: 4222
HTML Structure & syntax
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.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
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.
CSCE Chapters 1 and 2 CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department of Computer Science & Engineering.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
HTML PROJECT #1 Project 1 Introduction to HTML HTML Project 1: Introduction to HTML 2 Vocabulary Internet service provider (ISP) A company that has a.
Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Introducing XHTML: Module A: Web Design Basics.
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.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 1.
Web Application Programming Presented by: Mehwish Shafiq.
The Web Wizard’s Guide to HTML Chapter One World Wide Web Basics.
Web Design. What is the Internet? A worldwide collection of computer networks that links millions of computers by – Businesses (.com.net) – the government.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Chapter 1 Introduction to JavaScript JavaScript, Third Edition.
CSS THE MISSING MANUAL Introduction. Benefits of CSS Style sheets offer more formatting choices than are offered in straight HTML  EXAMPLE: When you.
Introduction to the World Wide Web & Internet CIS 101.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Web Page Programming Terms. Chapter 1 Objectives Describe Internet and Understand Key terms Describe World Wide Web and its Key terms Identify types and.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
4.01 How Web Pages Work.
Project 1 Introduction to HTML.
Introducing XHTML: Module A: Web Design Basics
Introducing XHTML: Module A: Web Design Basics
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
Introduction to XHTML.
Introducing HTML & XHTML:
Tutorial Developing a Basic Web Page
An Introduction to HTML Pages
Presentation transcript:

1 HTML/XHTML Objectives Explain what HTML is and how Web pages use HTML Explain what HTML is and how Web pages use HTML Demonstrate how to create Web pages with nothing more than a text editor and a browser Demonstrate how to create Web pages with nothing more than a text editor and a browser Explore the role of HTML standards on the Web Explore the role of HTML standards on the Web Tags of HTML/XHTML Tags of HTML/XHTML –Focus on XHTML –Will mention differences

2 To Create a Web Site You Need Computer with modem or telecommunication devices Computer with modem or telecommunication devices A text editor (or Web page construction kit) A text editor (or Web page construction kit) –Notepad –Free An Internet access account An Internet access account A password-protected account on a Web server A password-protected account on a Web server

3 Uniform Resource Locator (URL) All Web pages are addressed with URLs All Web pages are addressed with URLs The URL specifies The URL specifies –A server name –A directory path faculty_staff/huen –A filename home.html URLs are part of the HTTP (Hypertext Transfer Protocol) communications protocol. URLs are part of the HTTP (Hypertext Transfer Protocol) communications protocol.

4 Web Page Displays All browsers are designed to display files with.html and.htm extensions All browsers are designed to display files with.html and.htm extensions Web pages can look a little different on different computers Web pages can look a little different on different computers Web page authors cannot completely control their page displays Web page authors cannot completely control their page displays

5 The Hypertext Markup Language (HTML) HTML formatting commands control Web page displays HTML formatting commands control Web page displays All HTML formatting is achieved with HTML elements All HTML formatting is achieved with HTML elements All HTML elements are based on HTML tags and tag-pairs All HTML elements are based on HTML tags and tag-pairs HTML files can be created with text editors HTML files can be created with text editors

6 A HTML TagTemplate <html><head><title> (insert text for the browser’s title bar here) (insert text for the browser’s title bar here)</title></head><body> (insert visible Web page elements here) (insert visible Web page elements here)</body></html>

7 HTML Editors Example: Homesite (Macromedia/Coldfusion) Example: Homesite (Macromedia/Coldfusion) Pros Pros –Offer lots of useful features –Help you avoid tagging errors –Can save time Cons Cons –Can interfere with HTML mastery

8 The Web Page Development Cycle 1. Save your HTML file 2. Load the file into your Web browser 3. Review the file with your Web browser 4. Validate your HTML script 5. Revise your HTML file with a text editor Repeat this cycle as often as needed

9 Non-Standard HTML Browser vendors create their own HTML extensions to influence the industry standard Browser vendors create their own HTML extensions to influence the industry standard Browser-specific: Some vendor provide HTML tags extensions specific to their own product Browser-specific: Some vendor provide HTML tags extensions specific to their own product Netscape Navigator and IE do not always recognize each other’s HTML extensions Netscape Navigator and IE do not always recognize each other’s HTML extensions Web pages that use non-standard HTML may not display well for all users Web pages that use non-standard HTML may not display well for all users

10 Origins and Evolution of HTML HTML was defined with SGML (Standard Generalized Markup Language) HTML was defined with SGML (Standard Generalized Markup Language) Original intent of HTML: General layout of documents displayable by a wide variety of computers Original intent of HTML: General layout of documents displayable by a wide variety of computers Recent versions: Recent versions: –HTML 4.0 – 1997 Many new features and deprecated many older features Many new features and deprecated many older features –HTML A cleanup of 4.0

11 Browser War User’s experience varies with the browser User’s experience varies with the browser Developers need to provide multiple versions of a page Developers need to provide multiple versions of a page Standardization began with HTML 3.2 Standardization began with HTML 3.2 HTML 4 and CSS HTML 4 and CSS –Separate structure and format XML to add new features XML to add new features –XML: language to create new languages

12 XML Labeled data reusable Labeled data reusable Price paid Price paid –Case sensitive –Quotation marks –Closing tags –Backward compatible with HTML? Rewrite HTML in XML Rewrite HTML in XML –Developers learn basic syntax rules So xhtml is born So xhtml is born

13 Evolution of HTML XHTML 1.0 – 2000 XHTML 1.0 – 2000 –Reformulate HTML 4.01 in XML, instead of SGML –Will follow XHTML 1.0 Strict XHTML 1.1 – 2001 XHTML 1.1 – 2001 –Modularize 1.0, and drops frames –Very similar to XHTML Strict

14 Industry Standards Most HTML tags are in the official HTML standard Most HTML tags are in the official HTML standard All HTML-compliant browsers recognize the standard HTML tag set All HTML-compliant browsers recognize the standard HTML tag set The World Wide Web Consortium (W3C) sets the industry standard for HTML The World Wide Web Consortium (W3C) sets the industry standard for HTML

15 HTML Validation Services Validation services on the Web can check an HTML file for you Validation services on the Web can check an HTML file for you – (recommended, free, official) (recommended, free, official) – (commercial) – (commercial) To identify tagging errors and HTML extensions To identify tagging errors and HTML extensions Some HTML tagging errors are difficult to locate by manual inspection Some HTML tagging errors are difficult to locate by manual inspection Without an HTML editor, a validation service can be very helpful Without an HTML editor, a validation service can be very helpful

16 Shortcut Use xhtml template Use xhtml template See template.html See template.html