Home
FAQs
Extras
Comments
hyperNET®
Contact Us
Search:
Basic HTML
HTML Essentials
Basics
<head>
<body>
Text
Formatting
Size
Layout
Listing
Links
Create a Link
Within the Page
Local Pages
Other Sites
E-mail
New Window
Image Links
Link Colors
Link
Active
Visited
Images
Formats
JPEG
GIF
Inserting
Resizing
Border
Spacing
Alignment
Alternative Text
Text Wrapping
Image Mapping
Background
Color
Image
Table
Border
Resizing
Background
Color
Image
Spacing
Cell Spacing
Cell Padding
Spanning
Row Span
Column Span
Caption
Blank Cell
Frame
Create a Frame
Frameset
Default page
Resizable window
Scrollbars
Links Within
Form
Create a Form
Text Field
Text Area
Password Field
Hidden Field
Checkbox
Radio Button
Drop Down Menu
Submit Button
Reset Button
Image Button
File
Exam
Take Exam
Images >> Alignment
Alignment of Image
You can align images according to the text around it, using the following alignments:
default aligns the image using the default settings of the Web browser. Same as baseline.
left aligns the image in the left margin and wraps the text that follows the image.
right aligns the image in the right margin and wraps the text that precedes the image.
top aligns the top of the image with the surrounding text.
texttop aligns the top of the image with the top of the tallest text in the line.
middle aligns the middle of the image with the surrounding text.
absmiddle aligns the image with the middle of the current line.
baseline aligns the image with the baseline of the current line.
bottom aligns the bottom of the image with the surrounding text.
absbottom aligns the image with the bottom of the current line.
center aligns the center of the image with the surrounding text.
<img align="">
Attribute
Example
<img src="sample_image.wmf" align=top>
sample
<img src="sample_image.wmf" align=middle>
sample
<img src="sample_image.wmf" align=absmiddle>
sample
<img src="sample_image.wmf" align=bottom>
sample
<img src="sample_image.wmf" align=absbottom>
sample
<img src="sample_image.wmf" align=texttop>
sample
<img src="sample_image.wmf" align=baseline>
sample
Copyright ©2006-2007 hyperNET, Inc. All rights reserved.