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..
HTML text tag
HTML text tag   How to wrap text in HTML code without changing the text format
 
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 - 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 -- 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 - 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"  "
 
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
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
 
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 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> <
 
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
 
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
 
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
 
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
 
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
 
use of object tag
use of object tag  how to use object tag in html
 
Tomahawk documentBody tag
="The documentBody tag is equivalent to HTML <...; The documentBody tag is equivalent to HTML &lt;body&gt; tag. <input type="...Tomahawk documentBody tag   
 
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
 
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
 
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
 
HTML5 html tag, Definition of <html> tag in html5
HTML5 html tag, Definition of <html> tag in html5 In this tutorial we... of the html document. HTML tag contains all other html tag  within it except <DOCTYPE> tag ,<DOCTYPE> tag is located before the html opening
 
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 "
 
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
 
HTML5 dfn tag, Definition of  <dfn> tag in html
HTML5 dfn tag, Definition of  <dfn> tag in html In this tutorial we will inform you about the use and implementation of the <dfn> tag. The <dfn> tag defines the term or word which is to be defined. It defines
 
HTML 5 <table> Tag, Definition of <table> tag in html5
HTML 5 <table> Tag, Definition of <table> tag in html5 In this discussion, We will introduce about the use of <table> tag in html5. This tag is used to create the table in the html document . Simple table can have any
 
Combobox in HTML
Combobox in HTML is used to display a drop-down list of some options from which one can be selected. <select> tag is supported in all the web browsers. <option> tag is used inside the <select> tag that displays
 
Struts2.2.1 label Tag Example
Struts2.2.1 label Tag Example The label tag is used to renders an HTML LABEL... will shows how to implement the label tag in the Struts2.2.1 -- First we create... language="java" contentType="text/html; charset=UTF-8
 
HTML 5 thead Tag, Example of <thead> tag in html5
HTML 5 <thead> Tag, Example of <thead> tag in html5 In this discussion, We will introduce about the use of <thead> tag in html5. This tag... have zero or more <tr> tag inside the <thead> tag. The <thead>
 
Struts2.2.1 updownselect Tag Example
Struts2.2.1 updownselect Tag Example The updownselect tag is a UI tag that creates a HTML select component with buttons to move up and down the elements... Example will shows how to implement the updownselect tag in the Struts2.2.1 -- First
 
Address tag in HTML5, Definition of address tag in html5.
in address tag ,only the common html attributes can be used. Declaration syntax...Address tag in HTML5, Definition of <address> tag in html5. In this section, we will discuss usage of <address> tag and how to implement
 
HTML 5 caption Tag, Definition of <caption>tag in html5
HTML 5 <caption> Tag, Definition of <caption> tag in html5 In this discussion we will introduce about the use of <caption> tag in html5. This tag is used to create the caption of  the table. The <caption>
 
HTML5 <ol> tag, Example of <ol> tag in html 5
HTML5 <ol> tag, Example of <ol> tag in html 5 In this tutorial, We will discuss about <ol> tag in html5. The <ol> tag is used... by <li> tag and <ol> tag must have opening and closing tag
 
HTML5 <ul> tag, Example of <ul> tag in html 5
HTML5 <ul> tag, Example of <ul> tag in html 5 In this tutorial, We will discuss about <ul> tag in html5. The <ul> tag is used... of list . In The unordered list the list is created by <li> tag, and <
 
HTML 5 tr Tag, Definition of <tr> tag in html5
HTML 5 tr Tag, Definition of <tr> tag in html5 In this discussion, We will introduce about the use of <tr> tag in html5. This <tr> tag is used for defining the row of cells in a table. The<tr> tag is used within
 
HTML table example
HTML Table example In this page we will learn how to use HTML table tag with the help of examples. HTML table tag is used to display the data into tabular...;   In HTML tables are defined using <table> tag. It contains <
 
JavaScript validate select tag
JavaScript validate select tag In this tutorial, you will learn how to validate html select tag. Here, we have used two select tags to select numbers in order to calculate addition of two numbers. If the user does not select any
 
Paragraph in HTML
in HTML.In this Tutorial, the HTML code begin with a <html.> tag, The <... Paragraph in HTML       The Paragraph in HTML are defined inside the <p> and </p
 
HTML 5 td Tag, Definition of <td> tag in html5
HTML 5 td Tag, Definition of <td> tag in html5 In this discussion, We will introduce about the use of <td> tag in html5. This <td> tag is used for defining the table data or a cell in a table. The<td> tag
 
HTML 5 <tbody> Tag, Definition of <tbody> tag in html5
HTML 5 <tbody> Tag, Definition of <tbody> tag in html5 In this discussion, We will introduce about the use of <tbody> tag in html5. This tag is used to specify the group of rows in the table body. In the table we can
 
HTML 5 th Tag, Definition of <th> tag in html5
HTML 5 th Tag, Definition of <th> tag in html5 In this discussion, We will introduce about the use of <th> tag in html5. This <th> tag...;th> tag is used within the <tr> tag and <tr> is nested in <
 
Table Heading in HTML
Table Heading in HTML       The Tutorial illustrates an example to create a Table in HTML. To create a Table, we define the table inside the <table> tag. A Table
 
HTML5 bold tag, Definition of bold <b> tag in html5.
HTML5 bold tag, Definition of bold<b> tag in html 5. In this illustration we will discuss use of <b> tag in html5 and its implementation in the html document. The <b> tag is used for setting the words in bold style
 
HTML5 var tag, Definition of <var> tag in html5
HTML5 var tag, Definition of <var> tag in html5 Here we introduce you about the use and implementation of the <var> tag in html document. This tag is used for representing the variable declared in programming codeor
 
Ads

Related Tags for HTML - Image tag.:


Ads

 
Advertisement null

Ads