|
|
HTML Code TutorialTutor Ebook Download Paragraphs and ImagesPutting images or pictures in your paragraphs is a fairly simple process. It is necessary to use the alignment attribute in the image tag when placing images within paragraphs. Acceptable properties for the alignment of images are center, left and right. <img src="images/button.gif" align="left" height="32" width="32" alt="" border="0">
In this paragraph the alignment The code for image placement within a paragraph is the same, the only difference being the alignment setting <p><img src="images/button.gif" align="right" height="32" width="32" alt="" border="0">In this paragraph the alignment attribute of the image is set to right. When the right property is chosen text will flow to the left of the image. if we wanted the text to appear after and below the image we would use the line break tag with the clear=all setting.</p>
Note: When placing images in web pages, always use optimized, interlaced images. Large bulky image files will cause your pages to display very slowly. Size of files can be reduced by limiting them to the least amount of colors that will allow the image to display properly. Interlacing gives the appearance of an image loading in layers. If the image is slow in loading the user will see something on the screen rather than just a blank page. Interlaced images don't normally load faster than non-interlaced, but they do give that appearance. |
Contents Table of ContentsIntroduction Page Structure Basic HTML PageDoctype The Body Tag The Header Tag The Division Tag Horizontal Rule Anchor Tag Anchor Tag - Intradocument Anchor Tag - Image Using Borders The ID Attribute Meta Tags Text Controls Style SheetsWorking With Fonts The Paragraph Tag Paragraphs-Images Using Lists The Pre Tag Line Break Tag Tables Basics of TablesColspan Forms Form BasicsCheck Boxes Text Boxes Selection Boxes Frames Basic FramesTarget and Scrolling Search Engines Miscellaneous Buttons with CSSUsing Color Color Chart Using Images Using Templates Uploading HTML pages. HTML-CSS Quizzes |
|
|