Tutorial 6 - XHTML Basics

Tutorial 6 - XHTML Basics - XHTMLBasics A Brief...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
A Brief Introduction to Markup Languages XHTML Basics
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Introduction 2 Web pages are created using a markup language While we might think of markup languages as “programming languages”, they technically are page-description languages HTML (Hypertext Markup Language) – currently the prevalent markup language used to create Web pages was created from SGML (Standardized General Markup Language) XML (Extensible Markup Language) – is a A meta-language a language framework that can be used to create other applications and other languages
Background image of page 2
3 Markup Languages Markup Languages HTML an application of SGML Application capabilities are defined (inherently constrained) XML a subset of SGML XHTML application reformulation of HTML in XML HTML became over “extended” during browser wars and not suitable for newer handheld devices W3C sought to bring order to development of HTML Really Simple Syndication (RSS) XML application for delivering web content XBRL new standard language for reporting business performance data XHTM L SGML XML HTM L Web 1.0? Web 2.0?
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is XHTML? 4 XHTML stands for E X tensible H yper T ext M arkup L anguage 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 an XML application Since XHTML is the future standard of web development, we will focus on code using the XHTML standard. HTML and XHTML are relatively easy to learn “The most difficult part of building useful Web pages is not learning HTML or XHTML, but selecting the colors, text, images, and other elements of Web pages.”
Background image of page 4
Creating an XHTML Document 5 XHTML documents are written in ‘plain text’ or ASCII using a text editor Examples of text editors on the PC include Notepad and Word Pad, and TextEdit on the Mac Warning: If you choose to use a Word Processor to create the XHTML document you must use “Save As” every time and select Text as the file type. XHTML documents are saved using specific extensions: .html (Macs and PCs running Windows 95/98/and higher) View the XHTML document, by opening the document in a browser, like Internet Explorer. The browser will interpret the XHTML commands for you and display the Web page.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 In Windows Vista, Notepad is found under the Start Button, All Programs, Accessories path 1 2 3 4
Background image of page 6
7 In earlier versions of Windows, Notepad is found off of the Start Menu under Programs > Accessories
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Mac users take note! 8 You can use your Mac and TextEdit to create a “text” document. See page 459 of the textbook for details.
Background image of page 8
Some Important Points 9 XHTML Defines the structure of a page XHTML uses elements to identify the pieces of a web page Titles, headings, tables and lists are examples of elements Elements tell the browser what to display and how to display it. XHTML elements are often referred to as “tags” although
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/16/2010 for the course IDS 180 taught by Professor Clague during the Fall '08 term at San Diego State.

Page1 / 45

Tutorial 6 - XHTML Basics - XHTMLBasics A Brief...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online