lecture06_inf201_fall2010

lecture06_inf201_fall2010 - INF201 Fall2010 Intro. to Info....

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

View Full Document Right Arrow Icon
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang, fall 2010 Adapted from Choi, Spring2009
Background image of page 1

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

View Full DocumentRight Arrow Icon
XHTML XHTML stands for Extensible HyperTextMarkup Language 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 XHTML is a W3C Recommendation
Background image of page 2
Why XHTML? Many different browsers Some displayed on personal computing devices alms lackberry’s, other Cell Phones Palms, Blackberry’s, other Cell Phones Some of these devices don’t have the resources to interpret “bad” markup language
Background image of page 3

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

View Full DocumentRight Arrow Icon
HTML vs. XHTML XHTML elements must be properly nested XHTML elements must always be closed XHTML elements must be in lowercase XHTML documents must have one root element
Background image of page 4
More XHTML Syntax Attribute names must be in lower case Attribute values must be quoted Attribute minimization is forbidden The id attribute replaces the name attribute The XHTML DTD defines mandatory elements
Background image of page 5

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

View Full DocumentRight Arrow Icon
XHTML DOCTYPE <!DOCTYPE html PUBLIC "‐//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1‐stri ct.dtd"> <html> <head> <title>simple document </title> </head> <body> <p>a simple paragraph</p> </body> </html>
Background image of page 6
SGML SGML: S tandard G eneralized M arkup L anguage Generalized markup is based on two novel postulates: Markup should describe a document's structure and other attributes,
Background image of page 7

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

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

Page1 / 19

lecture06_inf201_fall2010 - INF201 Fall2010 Intro. to Info....

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

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