Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,038

HOME > HTML/CSS Manual > IMG


Send To Friend.Bookmark.

IMG

<IMG
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP
ALT=string
BORDER=integer
DATAFLD=colname
DATASRC=#ID
DYNSRC=url
HEIGHT=string
HSPACE=variant
CLASS=string
ID=string
ISMAP
LANG=string
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
LOOP=string
LOWSRC=string
NAME=string
SRC=string
STYLE=string
TITLE=string
USEMAP=string
VSPACE=string
WIDTH=string
event = script
>

Embeds an image or a video clip in the document.

ALIGN=
Specifies the alignment for the control-like element.
ALT=
Optional text as an alternative to the graphic for rendering in non-graphical environments. Alternate text should be provided whenever the graphic is not rendered. Alternate text is mandatory for Level 0 documents.
BORDER=
Specifies the thickness of a border to be drawn around the element.
DATAFLD=
The column name from the data source object that supplies the bound data.
DATASRC=
Indicates the ID of the data source object that supplies the data that is bound to this element.
DYNSRC=
Specifies the address of a video clip or VRML world to be displayed in the window. Stands for Dynamic Source.
HEIGHT=
Along with the width attribute, specifies the size at which the element is drawn. Returns the calculated height of the element in pixels. In HTML, this attribute may be initially set in pixels or percentages.
HSPACE=
Along with VSPACE=, specifies margins for the element.
CLASS=
Specifies the class of the tag being defined. This is most often used to associated a sub-classed style sheet with the tag.
ID=
An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid names to script with are any alphanumeric string that begins with a letter. Valid special characters include underbar "_".
ISMAP
Identifies the picture as a server-side image map.
LANG=
This specifies the language to use. The specifier is an ISO standard language abbreviation.
LANGUAGE=
Specifies the language that the current script is written in. JavaScript is the default for this attribute.
LOOP=
Specifies how many times a sound or video will loop when activated. Also specifies how many times the marquee should loop.
LOWSRC=
Specifies a lower resolution image to display.
NAME=
Specifies the name of the control, bookmark, or applet.
SRC=
Specifies a URI for the associated file.
STYLE=
Specifies an in-line style sheet for the tag.
TITLE=
The Title attribute is used to provide advisory information.
USEMAP=
Identifies the picture as a client-side image map and specifies a MAP to use for acting on the user's clicks.
VSPACE=
Along with HSPACE=, specifies margins for the element.
WIDTH=
Returns the calculated width of the element in pixels. In HTML, this attribute may be initially set in pixels or percentages.
event
Can be one or more of these events:

onabort onafterupdate

onbeforeupdate onblur

onclick ondblclick

ondragstart onerror

onfocus onhelp

onkeydown onkeypress

onkeyup onload

onmousedown onmousemove

onmouseout onmouseover

onmouseup onresize

onrowenter onrowexit

onselectstart

The start tag is required, and the end tag is optional.

Example

<IMG SRC=mygraphic.bmp>


ThaiCreate.Com Forum
Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   





ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2025 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่