Join Bill Weinman for an in-depth discussion in this video Selecting a type size, part of XHTML and HTML Essential Training.
In the last lesson we saw how to change the font face of text using the font…markup tag and now we're going to look at how to change the size of the text…using the font markup tag.…So here we have the same paragraph and I'm going to go ahead and insert a font tag.…We'll use the size attribute.…I'm going to close the font tag here.…We'll say size = "3", 3 is the default size.…So when I save this and reload it in the browser, we won't see any change at all.…
If I go ahead and make it 4, so it gets little bigger.…Save, reload, there it is.…If I make it 2, I'll see that it gets little smaller.…Go ahead and save that and reload.…And we have now smaller text.…So 3 is the default and numbers between 1 and 6 are valid.…So 1 is very, very small. We'll look at 1.…Save, reload.…That's very, very small.…And we'll look at 6, which is very, very big.…
Save here and go ahead and reload and 6 is very big.…Besides using the absolute numbers, you can also use relative numbers.…If I say +1, it will make it one size larger than what it's current, which is the default.…
- 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?
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.