Sorry, but we all hate spam bots

Haven't registered Yet? Register Now.

X

Login

Forgot Password

Already a user? Login

X

Register On DiveAdvisor

i

Much like a facebook page - you need to first have a personal account through which you can login and manage the business page.

After creating a personal account, you will be directed to 'My Dive Shop' section where you can claim existing listing or create a new one.

Got It
i
i
By Using this Site I agree to the Terms & Conditons
Or Register With:
X

Hey there,

hopefully you are sufficiently intrigued with DiveAdvisor to become a member and see it in action


Much like a facebook page - you need to first have a personal account through which you can login and manage the business page.

After creating a personal account, you will be directed to 'My Dive Shop' section where you can claim existing listing or create a new one.

Got It


Or Register With:
By Using this Site I agree to the Terms & Conditons

Published
written by Neille Adams
0

Images: How to Insert Images in HTML

Images are also important for a web page that attract your users to take more interest in your website/blog.

How to insert Images:

Images are inserted using tag. It is unpaired tag which means tags which have no ending tag are not closed hence called VPN master.

Image Tag Attributes:

There is mainly one attribute to call an image but there are other too and using them makes your work more good.

Image Tag Attributes:

Attributes

Description:

src

It is mainly used to define source of image.

alt

It is used for the alternative text for image in case due to slow speed or for any reason the image is not displayed, this works here good.

title

It is used to define a title for image. It is now shown on image but when you scroll your mouse over images then it is shown.

width

Simply adjusts width of your image.

height

Simply adjusts height of your image.

Example:

or

where

folder refers to the name of folder where you image is stored,
image refers to image name
format refers to type of image like jpg, png, gif, etc.

Now:

”Ui

Result:

While the original width and height was:

By defining width and height, we controlled image’s height and width while by defining title you can scroll mouse over image and observe result and alt will replace image into defined text when browser or internet gets slow.

You can also use external source for your image. All you have to do is to insert proper link in value of src.

So, this is the most common and only way to insert image into HTML document. In our next lesson, we will learn how to make lists in HTML.

0




Load more comments