Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
In XHTML and HTML Essential Training, Bill Weinman helps designers and coders understand XHTML and HTML. In the process, Bill covers document structure, block and inline-level tags, floating images, controlling white space, phrase and font markup, and tables and frames. He even provides a good introduction to CSS. Bill offers step-by-step guidance for building a complete working web site. Exercise files accompany the course.
So now that we've covered this structure of the XHTML document, and you know what all this stuff is that's required in every document, I know you're not going to want to type it every time and neither am I. I'm a big fan of lazy. So what I do is I keep around templates. Now as a starting point, I have this transitional-xhtml-template, which I actually use every time I'm doing to build a new document from scratch, and I start with this. It's got all the stuff that's required. It's got a placeholder for my document title, has a placeholder for where I start typing in my content.
Once I've designed a site, like for instance this one here. This is a site that we'll be using later on in the course to show how we do layout in a complete site. And this is the template for it. After I've designed the site and I've built the front page, I tear out the content and I create a template that's got just all the elements that are going to be consistent across the website. And down here I've got placeholders. Here's where my main content goes, here's where my sidebar content goes, here's where the title goes, and the rest of it is just constant.
So here's what it looks like in the browser. This is my little transitional template. This is the template for the website that we'll be looking at in more detail later on in the course. And here's the place for the main content. Here's the place for the sidebar content. I don't have type any of this anymore. Like I said, I'm a big fan of lazy. This is something that you can do to make to make it possible to use well structured documents that are correct and that will work well in a variety of browsers, and in a variety of media, and without really anymore effort than you would put into just the designing the things once.
No more effort really than it would be just to use plain old ugly HTML, to be able use well formed XHTML that will work across platforms and well into the future on all kinds of new devices. So use your templates. Become a fan of the lazy.
Find answers to the most frequently asked questions about XHTML and HTML Essential Training.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.