Lecture 02 -Intro to XHTML - We can teach you a lot about...

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

View Full Document Right Arrow Icon
1 We can teach you a lot about web design… …but common sense is up to you. Intro to XHTML INFO/COM S 130: Introductory Web Design and Programming What is XHTML? • XHTML = eXtensible Hypertext Markup Language • It’s a way to indicate or “mark up” the different parts of a document; to do this one uses tags. Bobby’s Blog My entry for September 4, 2005 I just rented The Blues Brothers. I really like the part where Elwood says It's 106 miles to Chicago, we've got a full tank of gas, half a pack of cigarettes, it's dark and we're wearing sunglasses. Too bad it’s about 700 miles to Chicago from here. After I watched the movie, I gave Chris a call, and we went out for pizza. <title> Bobby’s Blog </title> <h1> My entry for September 4, 2005 </h1> <p> I just rented <em>The Blues Brothers</em> I really like the part where Elwood says <q>It's 106 miles to Chicago, we've got a full tank of gas, half a pack of cigarettes, it's dark and we're wearing sunglasses. </q> Too bad it’s about 700 miles to Chicago from here. </p> <p> After I watched the movie, I gave Chris a call, and we went out for pizza.</p> XHTML lets you markup content to tell computers what it means. It does not control presentation .
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Content: XHTML Presentation: CSS Why separate content and presentation? The origins of HTML
Background image of page 2
3 Why XHTML? • It’s the most current and “future compatible”. • It’s a subset of XML (eXtensible Markup Language), a more general language for marking up data. • It most strictly separates content and presentation. The Flavors of XHTML XHTML Transitional XHTML Frameset XHTML Strict Tags, defined <head>…</head> <hr /> <br /> <html xmlns=“http://www.w3.org/1999/xhtml”> … </html> <a href=“http://cs130.cs.cornell.edu”> The INFO/CS 130 Server </a> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.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
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

Lecture 02 -Intro to XHTML - We can teach you a lot about...

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

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