Join Bill Weinman for an in-depth discussion in this video Aligning paragraphs, part of XHTML and HTML Essential Training.
So in our last lesson we talked about paragraphs and how they work and how they wrap.… Now let's take a look at how to change the alignment of a paragraph.…Here we have a document, a fully formed XHTML document with all the front matter…at the top and in the content of the document we have one paragraph element and…it's there to there. We have the paragraph tag and the close tag and some text in…between and down here at the bottom we have this document opened in a browser…with the paragraph displaying there on the screen.…
Let me just drag this back a little bit so the paragraph wraps nicely.…You will notice that the paragraph is justified on the left, it's aligned flush…on the left and it's ragging on the right and this is the default alignment for…a paragraph in XHTML and HTML.…So let's take a look at how to change that, I'm going to add an attribute to the…paragraph here, say align="right".…So this is what an attribute looks like in XHTML.…You have the attribute name, and an equal sign and the argument 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.