HTML - Image tag.
Posted on: March 24, 2011 at 12:00 AM
HTML - Image tag.

HTML - Image tag.

Description :

HTML supports two type tags.

1-Singular tag

2- Paired tag

The <img > (Image) is a paired tag. It has both start and end tag. The img tags is used for embedding image in HTML page. There is an attribute in img tag called src, it  holds the URL of that image which you wants to add in your html page.

Code :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HTML is a markup language</title>
</head>
<body>
<h1>Example of HTML image tag.</h1>
<img src="RI-Logo.thumbnail.jpg" /></body>
</html>

Output:

More Tutorials on roseindia.net for the topic HTML - Image tag..
meta tag in HTML
meta tag in HTML  Explain meta tag in HTML
 
anchor tag in HTML
anchor tag in HTML  Explain anchor tag in HTML
 
formatting tag in HTML
formatting tag in HTML  What are the various text formatting tag in HTML
 
HTML text tag
HTML text tag   How to wrap text in HTML code without changing the text format
 
text formatting tag in HTML
text formatting tag in HTML  What are the various text formatting tag in HTML
 
HTML marquee tag
HTML marquee tag  What is Marquee Tag in HTML?  Marquee Tag in html rolls the text horizontally or vertically based on the parameters. A simple syntax to use marquee is as follows: <marquee>Hello World<
 
HTML - base tag example.
HTML - base tag example. Description : The base tag is a HTML tag...;title>HTML is a markup language</title> </head> <body> <h1>HTML -- base tag. </h1> &nbsp;<a href="
 
HTML
HTML  What is a tag? How can we use MARQUEE in HTML
 
HTML - Q (quotation) tag.
HTML - Q (quotation) tag. Description : It generates a quotation over the text. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...;/head> <body> <h1>HTML -- q&nbsp; tag.</h1> <
 
HTML - menu tag example
HTML - menu tag example Description : The <menu> is a tag of HTML...>HTML -- menu tag.</h1> <p>Creates a menu list... html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "
 
struts html tag - Struts
struts html tag  Hi, the company I work for use an "id" tag on their tag like this: How can I do this with struts? I tried and they don't work
 
HTML -- form tag.
HTML -- form tag. Description : HTML provides a form tag. It takes user... within form tag. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD... language</title> </head> <body> <h1>HTML form tag
 
HTML font tag.
HTML font tag. Description : It is a HTML tag, which is used for changing... : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...;html xmlns="http://www.w3.org/1999/xhtml"> <head> <
 
HTML - textarea tag example.
HTML - textarea tag example. Description : It is a input tag. You can enter...; <head> <title>HTML is a markup language</title> </head> <body> <h1>HTML -- textarea tag Example. </h1>
 
HTML - I tag example.
HTML - I tag example. Description : It is a text formatting tag. It display...>HTML -- I tag Example. </h1> <p> Roseindia Technology Pvt...;head> <base href="http://roseindia.net"> <title>HTML
 
HTML audio tag
HTML audio tag  Hi, I have written a simple html page to play audio file, I m using audio tag as shown below: Your browser does not support the audio tag. when I open the page using Chrome, it works fine(plays audio
 
html
or the End Tag is defined as </> . The whole HTML document is enclosed...html  For what is used HTML?   Using HTML we can create a Web Page which can be viewed through a Web Browser over Internet. HTML describes
 
working of a div tag in html
working of a div tag in html   !DOCTYPE html PUBLIC "-//W3C//DTD....dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
 
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
 
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
 
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
 
img tag of HTML
img tag of HTML  How to pass a variable as a source(src) in img tag? I'm using <% %> to call variables of servlet on a JSP page. And want to pass one of the variables called as a src for img tag. How can This be done
 
Applet Tag Parameters,Applet Tag in HTML
to applets are: First, add the PARAM tag (with values) to the HTML source file... <APPLET> Tag Parameters: The <PARAM> Tag... the applet's operation. APPLET parameters stored in the PARAM tag actually have little
 
HTML line break tag
HTML line break tag. The HTML Line break tag <br> is used to add a line... web page. Its very easy you just have to write <br> tag in your html page... <br> tag. This tag is used to add a line break in HTML page
 
Textarea Tag:
Textarea Tag<html:textarea>: Information on Textarea Tag       html:textarea Tag -is use to create ...:textarea> tag. Here you will learn to use the Struts Html<html
 
Tag Inside Table in HTML
Tag Inside Table in HTML     ... in HTML.In this code we define a HTML page and show you to create a tag inside a Table in HTML. The following tags used in code to create tag inside table in HTML
 
Checkbox Tag :
Checkbox Tag <html:checkbox>:       html: checkbox Tag -  is used to create a  Checkbox Input Field. This tag creates an HTML <input> element of type checkbox
 
Radio Tag :
Radio Tag <html:radio>:       html:radio Tag - This Tag renders an HTML <input> element of type radio... of the Radio<html:radio> tag. Here you will learn to use the Struts Html
 
Rewrite Tag:
; html:rewrite Tag - This tag renders a request URI  based on exactly the same... Example Illustrating the use of the Rewrite<html:rewrite> tag. Here you will learn to use the Struts Html<html:rewrite> tag
 
Hidden Tag :
Hidden Tag <html:hidden>:       This tag facilitate  an HTML <input> element of type hidden... the use of the Hidden<html:hidden> tag. Here you will learn to use
 
PHP Escaping HTML Tag
PHP Escaping Html Tag: During the parsing of a file by PHP, it looks... the time, unless you need to embed html or any other scripting tag.... The parser ignores the coding outside of the tag. In general we use <?php ?>
 
Html tag inside out implicit object
Html tag inside out implicit object   ... a html tag inside a out object. out object is used to display the content on the browser. To make this program run use out object inside which define some html
 
JSF HTML Tag Reference
JSF HTML Tag Reference     ... HTML tags are used for design the page by using server side code. This tag... of the prefix attribute of the taglib directive. When you declare any html tag
 
Tomahawk documentBody tag
is equivalent to HTML <body> tag."/> </h:form> </t...-urlencoded"> The documentBody tag is equivalent to HTML &lt;body&gt...Tomahawk documentBody tag   
 
we want to send requiest to server by html select tag - JSP-Servlet
we want to send requiest to server by html select tag  how we can send requiest to server using html select tag. and pass the value also  Hi Request Information In JSP Request Method
 
Select Tag (Form Tag) Example
is a UI tag that is used to render an HTML input tag of type select. Add... using the tag <s:select> that creates an HTML input tag of type select...Select Tag (Form Tag) Example      
 
Tomahawk htmlTag tag
;    This tag is used to use html tag for its child... it within <t:html> tag and set its value as "b" because in html... to value attribute then all its child component are rendered but no no html tag
 
dynamic generation of html:select tag from textbox value
dynamic generation of html:select tag from textbox value  Hi, I am a newbie to java and struts. In my application, I have a requirement like when i give some input in a textbox and click on a add link. It should be added
 
dynamic generation of html:select tag from textbox value
dynamic generation of html:select tag from textbox value  Hi, I am a newbie to java and struts. In my application, I have a requirement like when i give some input in a textbox and click on a add link. It should be added
 
HTML ISSUE
HTML ISSUE  Hi, We have a requirement wherein we have to access a link generated using html tag 'href' ie: This href value is fetched from sum table in other schema. When we click this link, username n password pop-up
 
Tomahawk selectBooleanCheckbox tag
Tomahawk selectBooleanCheckbox tag          This tag renders an html "input" tag whose type is set to "
 
HTML tags, Definition of applet tag in HTML5.
HTML tags, Definition of applet <applet> tag in HTML5. In this section, we will define applet tag. HTML5 does not support applet tag. Applet tag... program that can be embedded into HTML pages. Java applets runs on the java
 
JSF selectItem Tag
about the selectItem tag. It can be used with any select tag of JSF html tag...JSF selectItem Tag          This tag is used to add a child component
 
HTML tags, Definition of basefont tag in HTML5.
HTML tags, Definition of basefont <basefont > tag in HTML5. HTML5 does not support basefont tag. But it is supported by HTML4.01. The basefont tag.... HTML5 uses CSS instead of basefont tag
 
Struts HTML Tags
; Struts provides HTML tag library for easy creation of user interfaces.../struts-html" prefix="html" %> above code makes available the tag to the jsp...;html:text property="text1" size="5"/> Tag
 
Form Tag Example
the form tag. The form tag is a UI tag that renders HTML an input form. The remote... .style1 { color: #FFFFFF; } Form Tag Example  ... from the form can be inserted into any HTML element on the page. Add
 
use of object tag
use of object tag  how to use object tag in html
 
Simple HTML example
Simple HTML example In this section we will give you very simple example of a HTML page. After reading this page you should be able to create simple HTML pages for your website. HTML is used to create web pages for websites. You
 
HTML tags, Definition of acronym tag.
HTML tags, Definition of acronym <acronym> tag in HTML5. In this section, we will define acronym tag. HTML5 does not support acronym tag. Acronym tag is supported by HTML4.01. It is used for defining acronym of text. Output
 
Ads

Related Tags for HTML - Image tag.:


Ads

 
Advertisement null

Ads