F2007 06.02.2007 DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.

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

WeB application development
Website Design.
A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
Pengantar Teknologi Mobile 13 Antonius Rachmat C, S.Kom, M.Cs XHTML.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
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.
XHTML II DIGITAL MEDIA: COMMUNICATION AND DESIGN F2007.
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace 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.
HTML Elements. HTML documents are defined by HTML elements.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Basics of HTML.
Creating Web Pages with HTML
Creating a Simple Page: HTML Overview
Principles of Web Design 6 th Edition Chapter 1 – HTML5.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Creating a Basic Web Page
_ HTML, XHTML & CSS Sami Niemelä | Module 1: Introduction to digital media: Day 02.
Week 1.  Phillip Chee   Ext.1214 
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
 XHTML is aimed to replace HTML  XHTML is almost identical to HTML 4.01  XHTML is a stricter and cleaner version of HTML  XHTML is HTML defined as.
CS 299 – Web Programming and Design Introduction to HTML.
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.
XHTML and Forms Review – Page 1CSCI 2910 – Client/Server-Side Programming CSCI 2910 Client/Server-Side Programming Topic: Review XHTML and Forms.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
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.
XHTML Instructor: Charles Moen CSCI/CINF XHTML  A stricter version of HTML  Extensible HTML  The XHTML specification is maintained by the World.
Introduction. Document Structure Overview  XML declaration (prolog)  Document type declaration  Root element (namespace)  Document header  Document.
3 XHTML.
Extensible HyperText Markup Language (XHTML) Laboratory of Intelligent Youn-Hee Han.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
XHTML Web and Database Management System. HTML’s History HTML was initially defined by Tim-Berners-Lee in 1990 at CERN (European Organization for Nuclear.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
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.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
HTML: Hyptertext Markup Language Doman’s Sections.
XHTML1-1 Extensible HyperText Markup Language (XHTML) Part 2 Xingquan (Hill) Zhu
Lesson 4.
1 Web Application Programming Presented by: Mehwish Shafiq.
XML for Text Markup An introduction to XML markup.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
XML Basics A brief introduction to XML in general 1XML Basics.
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.
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.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Basic Steps to create a Website using HTML5. Hypertext Markup Language.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
Creating Your 1 st Web Page. Tags Refers to anything between on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Extensible Markup Language (XML) Pat Morin COMP 2405.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
What is XHTML? XHTML stands for Extensible Hypertext Markup Language
Web Basics: HTML/CSS/JavaScript What are they?
CIS 228 The Internet 9/20/11 XHTML 1.0.
CITA 330 Section 3 XHTML.
Coding, Testing and Valdating a Web Page
W3C Web standards and Recommendations
XHTML
HTML A brief introduction HTML.
XHTML 7-May-19.
XHTML 29-May-19.
محمد احمدی نیا XHTML محمد احمدی نیا
Creating Web Documents
Presentation transcript:

F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML

Digital Media: Communication and DesignF2007 Goals of the lecture Get a basic understanding of XML Learn the main components in an XHTML document Understand the structure of an XHTML document: declaration, header and body Use an FTP client to connect to a remote server

Digital Media: Communication and DesignF2007 Index What is XML Structure of an XML document Elements in (X)HTML Structure of an (X)HTML document How to use an FTP client

Digital Media: Communication and DesignF2007 What is XML eXtensible Markup Language Describes the data using user-defined tags No information on how the data should be displayed W3C recommendation Example in notepad

Digital Media: Communication and DesignF2007 What is XML II Declaration  Root element  … Nested elements ,, … Content  Digital Media Attribute  Charlie

Digital Media: Communication and DesignF2007 What is XML III Four components:  An XML document  A Document Type Definition (DTD) or XML Schema  Style sheets to describe presentation  A parser that interprets the XML document

Digital Media: Communication and DesignF2007 Index What is XML Structure of an XML document Elements in (X)HTML Structure of an (X)HTML document How to use an FTP client

Digital Media: Communication and DesignF2007 Structure of an XML document Tree-like structure Root element: course Branches: name, year, teachers, students

Digital Media: Communication and DesignF2007 Well-formed XML documents XML must be well-formed Some rules:  No whitespaces before the XML declaration  One root element  Every element must have an opening and a closing tag, except empty elements  Empty elements must contain a closing slash, ex:  Opening and closing tags must nest correctly  Element attribute values must be in quotation marks Example with notepad

Digital Media: Communication and DesignF2007 RSS RDF Site Summary (RSS 0.9 and 1.0) Really Simple Syndication (RSS 2.0) Rich Site Summary (RSS 0.91 and 1.0) Atom (standardised by the IETF) Syndicating web content Example: subscribe to NYT in Flock

Digital Media: Communication and DesignF2007 More about XML… …the 20th of February, guest lecture by Alexandre Alapetite.

Digital Media: Communication and DesignF2007 HTML Hypertext Markup Language Used to make web pages Defines the structure of the document, NOT the presentation

Digital Media: Communication and DesignF2007 XHTML eXtensible Hypertext Markup Language Reformulation of HTML using XML syntax We’ll talk about XHTML Again:  Keep structure and presentation apart  Validate the XHTML and CSS documents

Digital Media: Communication and DesignF2007 Index What is XML Structure of an XML document Elements in (X)HTML Structure of an (X)HTML document How to use an FTP client

Digital Media: Communication and DesignF2007 Elements An element in XHTML is coded with a tag Structure:  content Examples:  Paragraph: This a paragraph  Header: This is a header Some elements are empty  Line break:

Digital Media: Communication and DesignF2007 Elements Some elements can have attributes Structure:  content Examples:  Image:  Table: …

Digital Media: Communication and DesignF2007 Well-formed XHTML documents All element and attribute names in lowercase All attribute values must be quoted All elements, including empty elements, must be terminated All elements must be properly nested Use of id and name attributes

Digital Media: Communication and DesignF2007 Index What is XML Structure of an XML document Elements in (X)HTML Structure of an (X)HTML document How to use an FTP client

Digital Media: Communication and DesignF2007 Document structure Declaration html head title body <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “ <html xmlns=“ xml:lang=“en” lang=“en”> Welcome to my website Hello world!

Digital Media: Communication and DesignF2007 Root element … Example: 

Digital Media: Communication and DesignF2007 Header … Information for browsers and search engines  Title: Welcome to my web  Metadata:

Digital Media: Communication and DesignF2007 Body … The content of the body is what is shown in the browser

Digital Media: Communication and DesignF2007 Index What is XML Structure of an XML document Elements in (X)HTML Structure of an (X)HTML document How to use an FTP client

Digital Media: Communication and DesignF2007 How to use FTP

Digital Media: Communication and DesignF2007 How to use FTP II

Digital Media: Communication and DesignF2007 How to use FTP III