Lost Password?


  #1 (permalink)  
Old 09-09-2007, 04:12 PM
c0de
Guest
 
Posts: n/a
Lightbulb How to add images to a page?

To add images to a simple HTML page is not to hard it's simple with some codes!

Here is the key to add image to a simple page:

HTML Code:
<img src="The link or the place of image">
This is the code what we need to add image to our page!

We put this code between <body>...</body> tags!

At the code <img src=".."> we can play with image like; we can change the size of the image or we can write an ALT text when we put our mouse on the image there should appear a text, etc...

For to change the size of the image, we use these two attributes (weight and height attributes).

These can be used when adding a image like this:

HTML Code:
<img src="ninja.gif" weight="20px" height="30px" alt="The text what will shown when our mouse goes on image">
With this code we can add to our page a simple image With 20px weight, 30px height...

We can change the image place in the page with "algin="side of the page where image want to go" often goes algin="center" or sometimes we use middle!...

There is an example where to add the image codes:



Then open your page and you will see how this works!

This tutorial belongs to me.

-Regards, c0de!

Last edited by c0de; 09-13-2007 at 10:45 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 09-12-2007, 09:54 PM
KevinADC KevinADC is offline
Learning Programmer
 
Join Date: Jan 2007
Posts: 93
Rep Power: 7
KevinADC is on a distinguished road
Default

For to change the size of the image, we use these two verbs (weight and height verbs).

verbs? Those are called attributes. They are not even correctly called verbs, they are nouns.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About HTML Onur Tutorials 0 08-28-2007 07:13 PM
Problem with JApplet and HTML page?? stack Java Help 10 08-22-2007 10:16 AM
HTML Introduction clookid Tutorials 5 01-08-2007 10:43 PM
CSS vs HTML images John JavaScript and CSS 1 12-23-2006 09:02 PM
What is HTML, DHTML and XHTML? Lop HTML Programming 5 08-09-2006 12:00 PM


All times are GMT -5. The time now is 11:08 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads