Skip to main content

Image Inserting and Formatting

In this page, you'll learn how to format an image. You will learn how to style and design an image.

Inserting an Image

Before we proceed to image formatting, You need to know first how to insert an image.

>To insert an image, you'll insert an tag. The code goes like this:
<img src="fileNameOfTheImageWithItsFileExtention" alt="theProperDescriptionOfTheGraphic">

Note: if you insert an image, the image must be in the same folder so that the browsers will determine that the image is a graphic.

Image Formatting

Image formatting is used for designs, colors, and float style attributes. Here is the list of attributes that are usually used when formatting an image.

Sample

This is the sample of an image formatting.

smiley

smile!This image will float to the left.

smile!This image will float to the right.

Try It

If you want to try what you have learned in this page, open a notepad and perform them.




Back to home
back to top


© CopyrightMMK 2017