Join Bill Weinman for an in-depth discussion in this video Flowing text around an image, part of XHTML and HTML Essential Training.
So as we know, the image tag is an inline tag, which means it flows with the…text in a paragraph, and so here we have a paragraph with an image tag in it and…the image tag is the beginning of the paragraph and then we have some text and…the close of the paragraph.…So we see it displayed in the browser down here. We have something different…that we are not used to.…The text is actually flowing around the image.…So if I bring this in and watch the text wraps here, it wraps next to the image…and then when it gets past the end of the image, it wraps around the image.…
That's not what we have seen in the past.…The way this is accomplished is with this align=left attribute and that makes…the image float to the left side of the text.…You can change it to align=right and it will float to the right side of the text.…Save that and reload and there now the image is floating to the right.…Go ahead and change it back to left for our demonstration purposes and reload it.…Another attribute here that you may not have seen before is the hspace…
- 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.