Join Bill Weinman for an in-depth discussion in this video Understanding versions of HTML and XHTML, part of XHTML and HTML Essential Training.
There are a number of versions of HTML and XHTML available. Let's take a look at them. HTML 4.01 is the current version of HTML. It has been in use since 1999 and it is still standard today. XHTML 1.0 is based on HTML 4.01. It is in wide use today for working websites. It's easy to use and most sites that are XHTML use 1.0. XHTML 1.1 is a very strict and stripped down version of XHTML.
It has no presentation features. Instead, you must rely on CSS style sheets to do all your layout. Unfortunately, not all browsers implement CSS with sufficient consistency to make this work in all cases. So, sites that use XHTML 1.1 are still pretty rare and for good reason. XHTML 2.0 began in 2002 and was actively in development until 2006. As of this recording, it's been pretty much abandoned. XHTML 2.0 was designed to be a clean break from HTML with no requirement for backward compatibility.
This never worked very well. The browser companies weren't really very interested in it. So it has substantially failed. HTML 5 picks up where XHTML 2.0 left off, except that it is backward compatible. It has a lot of exciting new features including XForms, which extend the capabilities of HTML forms to include more data types, better formatting, data validation and many other useful features. XForms has been around since 2003 and is now in its second full version, but it is not yet adopted by any of the major browsers.
Where it's relevant? I'll discuss how examples relate to HTML 4, but I'll always show you the strictness to most compatible XHTML 1.0, so that you know how to make your websites functional, compatible and attractive.
- Understanding the structure of an HTML or XHTML document
- Creating and using templates
- Controlling white space and line breaks
- Making effective use of tables and frames
- Flowing text around an image
- Formatting tables with CSS
- Creating web pages that work properly across platforms and devices
- Reviewing a case study of a complete web site
Skill Level Beginner
Q: In this title, the instructor uses tables to create a website design. Is there a way to create this same layout with CSS?<br />
A: This course will be updated to include CSS-based layout techniques within<br /> the next few months. In the meantime, please see Bill's <a href="<br /> http://www.lynda.com/home/DisplayCourse.aspx?lpk2=52341">CSS for<br /> Developers</a> title for more information on coding with CSS.<br />
Q: In the "Understanding the structure of an XHTML document" movie in Chapter 1, where does the "Roses are red," etc, text come from? I don't see it in the code.
<div>A: Notice the <frame src="??"> tags. These reference other .html files that contain the content of the various frames. Details about how frames work can be found in Chapter 6 of the course.</div>
Q: In this title, the instructor uses tables to create a website design. Is there a way to create this same layout with CSS?
A: This course will be updated to include CSS-based layout techniques later in 2012. In the meantime, please see Bill's <a href="http://www.lynda.com/home/DisplayCourse.aspx?lpk2=52341">CSS for Developers</a> title for more information on coding with CSS.
1. Introducing XHTML and HTML
2. Text Tags
3. Image Tags
Using inline images3m 17s
4. Link Tags
9. Creating a Simple Web Page from Scratch
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.