Join Bill Weinman for an in-depth discussion in this video Selecting a typeface, part of XHTML and HTML Essential Training.
This lesson is about using the font tag to change the font of text in a document.…The font tag is an inline level tag.…So it's important to know that you can use it inside a paragraph.…It is not proper to use it outside a paragraph and have a paragraph contained in it.…It's common and it works, but it's not correct XHTML.…So let's take a look at how this works.…Here we have a paragraph, and there is a paragraph in the browser down there.…Let's say that I want to change the font of the text of the paragraph.…
So I'll use a font tag here, and I say font face = and I can say "arial",…which is a sans-serif font that's available in Microsoft Windows and on other operating systems.…Close the font tag here.…Now you'll notice that the font tag is after the P and the close font tag is…before the close P. So that makes the font tag inside of the paragraph.…You will see other arrangements, which are not correct.…Sometimes even you'll see the text straddling the paragraph like this, where…you've got the beginning of the paragraph outside of the font and the end of the…
- 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
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.