Join Bill Weinman for an in-depth discussion in this video Breaking lines around an image, part of XHTML and HTML Essential Training.
- View Offline
- Exercise Files
So in our last lesson we looked at how to float an image, so that the text wraps…around the image and you can float an image to either side.…Here we have our example from that lesson where the text is flowing around the…image. We are just going to tweak this down here and bring this up a little bit…so that we can show you how to break the text around the image if you need to do that.…So here is our paragraph and we see our image here with the align=left that…makes the image float to the left and the text is flowing around it.…
Let's say that you wanted to break this text say after this period here and…you wanted that Jez is a Gibson L6-S to start on the line after the image and…not just right here.…We know that the br tag will break the text.…Go ahead and insert a br tag right here, br, and you will notice that we have…the little shorthand notation there for the fact that br is not a container and…it doesn't have a separate end tag.…So we have this little shorthand notation that allows that to work in XHTML.…
- 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.