EzineArticles - Expert Authors Sharing Their Best Original Articles



  Submit Articles
  Members Login
  Benefits
  Expert Authors
  Read Endorsements
  Editorial Guidelines
  Author TOS

  Terms of Service
  Ezines / Email Alerts
  Manage Subscriptions
  EzineArticles RSS

  Blog
  Forums
  About Us
  What's New
  Contact Us
  Article Writing Shop
  Advertising
  Affiliates
  Privacy Policy
  Site Map


Advanced Search


Would you like to be notified when a new article is added to the Web-Design category?

Email Address:


Your Name:


Prefer RSS?
Subscribe to the
Web-Design
RSS Feed:

How to Wrap an Image Around Text
Print This Article Ezine Publisher Send To Friends Add To Favorites Post A Comment Suggest Topic Report Author
CloseRecommend This Article
From:
To:
Message:

One of the most challenging things that a new webmaster has to learn when building webpages is how to wrap an image around text.

The most common problems include text creeping too close to images and images not being aligned properly both horizontally and vertically when placed next to text.

Always Start With The Same Image Code

Get in the habit of using the same HTML image code every single time you place an image. That way all you have to do is alter it for the page that you are working on. The code should include:

  • The image location (Example--"http://www.your-domain-name.com/images/your-image-name.jpg")
  • Alignment (Example--left, right, center)
  • Hspace (For horizontal alignment)
  • Vspace (For vertical alignment)
  • Alt Tag (To help search engines find your image/site)
  • Image Height and Width (To ensure proper display of your image without distortion)
  • Title Tag (So visitors will see an image description when they hover over an image)
  • Border HTML Code (In case you want a border around your image)

How to Wrap Image Around Text

When you want to wrap an image around text, decide on which side of the page the image should appear. If you want it on the right side use ALIGN="right". Other choices are "left" or "center".

Next, adjust Hspace to gain space between the text and the image. Start with Hspace="10" and adjust as needed. Vspace is not as commonly used as Hspace but it comes in handy when you want to move an image up or down vertically. Start with "10" and adjust as needed.

Using ALIGN, HSPACE and VSPACE are the primary wrap text code needed when you want to wrap an image around text.

Using The Break Tag

Occasionally you will want to create space between the bottom of your image and where the text begins again. Using the break tag will accomplish this task. The most common break tag for this purpose is clear="all."

Other Parts of HTML Image Code

The Alt tag is extremely important. Using a keyword-rich alt tag will help search engines find your images and also your site. The Title tag is only needed if you want your visitors to see an image description when they hover over your images.

Specifying an image height and width will ensure that your images display properly, without distortion, in all browsers.

Lastly, adjust the border tag depending on what type of border you would like around your images. You can adjust weight (1 px is thin, 3 px is thicker), color and type (solid, dotted...). If you want no border, change border code to 0px.

Summary

  • Use the same HTML Image code repeatedly and adjust as needed.
  • To wrap text around an image use ALIGN, HSPACE and VSPACE.
  • To gain space between the bottom of an image and more text, use the break tag
  • Although they do not affect alignment, always use an Alt Tag and specify height and width
  • Optional--use Title Tag and Border as needed

Visit Free-Website-Tutorials.com where you can watch a Video Tutorial showing all of the steps above on how to wrap text around images.

Get the exact HTML wrap code needed to get it right the first time.

Article Source: http://EzineArticles.com/?expert=Sandee_Lembke

Sandee Lembke - EzineArticles Expert Author

Other Recent EzineArticles from the Internet-and-Businesses-Online:Web-Design Category:

Most Viewed EzineArticles in the Internet-and-Businesses-Online:Web-Design Category (60 Days)

  1. Latest Website Design Trends For 2010
  2. The Best WordPress Theme For Your Business
  3. 4 Tips to Make Your Website Load Faster - See How
  4. Web Design Mistakes
  5. Choosing a Good Ecommerce Website Design Company
  6. Outsourcing Web Design - A Cost-Effective Alternative For Small and Mid Sized Businesses
  7. Avoid Slow Loading Intuit Homestead Website Pages
  8. Make a Website - Structure Your Website With These Easy Steps
  9. How to Select the Best Website Template
  10. Web Designing - A Medium For Promotion
  11. 7 Web Design Tips to Attract More Visitors to Your Site and Keep Them Staying
  12. How to Make My Own Website - Some Things a Newbie Website Builder Needs to Know
  13. Solid Color Layouts
  14. 8 Specific Ways to Avoid Common Web Design Mistakes
  15. Online Website Building - Make it Easy

Most Published EzineArticles in the Internet-and-Businesses-Online:Web-Design Category (60 days)

  1. How to Make My Own Website - Some Things a Newbie Website Builder Needs to Know
  2. Latest Website Design Trends For 2010
  3. How to Get Free HTML Forms and a Free PHP Form
  4. Can You Get Free Contact Forms?
  5. When Should You Redesign Your Website?
  6. Choosing a Good Ecommerce Website Design Company
  7. Advantages of Custom Website Design
  8. The Importance of Good Web Design
  9. Web Design - Deciding on the Website's Content
  10. The Best WordPress Theme For Your Business
  11. Web Design Mistakes
  12. Know Some Basic Purposes of Business Website Design
  13. How to Promote Your Fashion Business
  14. Don't Fret - Building a Website is Easy
  15. Find Out How to Make a Great Web Design

 

This article has been viewed 309 time(s).
Article Submitted On: November 17, 2009



© EzineArticles.com - All Rights Reserved Worldwide.