title attribute for img (HTML5)

Short text description for the element.

Values

(Default Value: no default value)

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 2.0opera 4.0

Examples having uses of html attribute 'title'

6 votes
2k views

HTML Web Page

This HTML element identifies an HTML document (web page).
3 votes
13k views

My first web page

Basic HTML tags that show how a web page can be created.
3 votes
10k views

jQuery Attributes

Some of the most basic components we can manipulate when it comes to DOM elements are the properties and attributes assigned to those elements
2 votes
11k views

HTML Head

The head element is a container for all the head elements. Elements inside <head> can include scripts, instruct the browser where to find style sheets, provide meta information, and more. The following tags can be added to the head section: <title>, <base>, <link>, <meta>, <script>, and <style>.
2 votes
2k views

HTML Code

HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>), within the web page content. HTML tags most commonly come in pairs like <h1> and </h1>, although some tags, known as empty elements, are unpaired, for example <img>.
1 votes
2k views

Empty elements

HTML elements with no content are called empty elements. <br/> is an empty element without a closing tag (the <br/> tag defines a line break). Tip: In XHTML, all elements must be closed. Adding a slash inside the start tag, like <br />, is the proper way of closing empty elements in XHTML (and XML).
1 votes
11k views

HTML Image

Images with title and borders
1 votes
9k views

CSS Background Color

This example sets the main background to blue, and the background of heading 1 to green. This is set using an internal Style Sheet.
1 votes
2k views

CSS Basic Formatting

This example uses a basic internal CSS Style Sheet sets the page background to green (#9AFE2E), and then we add CSS attributes for <h1> and <p> tags.
1 votes
2k views

CSS Text Colors

This example uses an internal CSS Style Sheet sets the body text to blue, and changes H1 to green (#9AFE2E) and H2 to red (#FF0000).
1 votes
11k views

CSS Absolute

With absolute positioning, an element can be placed anywhere on a page. In this example the heading has been placed 100px from the left of the page and 150px from the top of the page. It will remain in this position.
1 votes
12k views

CSS Inline Boxes

In this example the inline display is used to merge the two paragraphs of example text together.
1 votes
12k views

CSS Pseudo on link tag

In this example, a hyperlink with a destination of "#" is set to display different colouring for different properties.
0 votes
2k views

My second page

A basic web page with some text, paragraph, bold text and line breaks.
0 votes
2k views

Missing tags

In this example we forgot the end tags for our HTML paragraph tags (</p>). Some HTML tags might display correctly in some browers even if you forget the end tag.
0 votes
1k views

HTML Align

If you wish to change the horizontal location of your elements you may do so using the align attribute. You may align elements left, right, or center.
0 votes
10k views

HTML DOCTYPE Declaration

The <!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag. The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.
0 votes
1k views

HTML 4x01 strict declaration

<!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag. This declares the document to be HTML 4.01 Strict. HTML 4.01 Strict is a trimmed down version of HTML 4.01 that emphasizes structure over presentation. This DTD contains all HTML elements and attributes, but does NOT INCLUDE presentational or deprecated elements (like font and center).
0 votes
1k views

Complete Web Page Example

The HTML head Element The head element is a container for all the head elements. Elements inside <head> can include scripts, instruct the browser where to find style sheets, provide meta information, and more. The following tags can be added to the head section: <title>, <base>, <link>, <meta>, <script>, and <style>.
0 votes
1k views

HTML5 embed

The <embed> tag defines a container for an external application or interactive content (a plug-in).
0 votes
4k views

CSS Background Color by different syntax

This example the a line of text has been set a background color. Each paragraph is setting color by hex, rgb or color name.
0 votes
1k views

HTML 4x01 transitional declaration

<!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag. This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed
0 votes
1k views

HTML 4x01 frameset declaration

The <!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag. This DTD is equal to HTML 4.01 Transitional, but allows the use of frameset content.
0 votes
11k views

CSS Text Align

This example uses an Internal CSS Style Sheet to make the heading centred, along with the main text. It moves the example date to the right hand side.
0 votes
1k views

CSS Padding

This example shows you how to use an internal CSS Style Sheet to apply padding options. The top line of text has no padding, whereas the second line of text has 25px padding at the top and bottom, and 50px padding on either side.
0 votes
1k views

CSS Margin

This example shows you how to use an internal CSS StyleSheet to apply margin options. The top line has no margin, whereas the second line of text has a margin on both sides of 50px.
0 votes
1k views

CSS Font

This example shows you three lines of text, two controlled by a class. Each class has a different font applied. The fonts are applied using an internal Style Sheet. The "Example Fonts" is using a simple <h1> tag.
0 votes
11k views

CSS Border Style

In this example two lines of text have been bordered using thick and medium widths. They have a "border-style" of "solid" to ensure the borders display correctly.
0 votes
1k views

CSS Border Color

This example two lines of text have been bordered using red and green colouring. They have a "border-style" of "solid" to ensure the borders display correctly. Without setting the style, the color change will not work.
0 votes
1k views

CSS Border Width

In this example two lines of text we borders at 15px and 10px width. They have a "border-style" of "solid" to ensure the borders display correctly.
0 votes
1k views

CSS Border Styles

In this example a line of text has been bordered using different border styles.
0 votes
1k views

CSS Layers Overlapping

This example uses "z-index:100" to place an image above the text. Try to change z-index to -1 and see the image fall behind the text.
0 votes
1k views

CSS Color

Colors can be applied to any HTML element. Like div, text, body ,paragraph etc.
0 votes
2k views

JavaScript clearInterval method

JavaScript clearInterval function enables you to stop the timer event started by the JavaScript setIntterval function. When you apply the setInterval function a JavaScript function by specifying the time interval then it calls the function continuously after equal intervals of time.
0 votes
1k views

CSS Bottom

To have the effect for bottom text we have created a master container where the position to all child elements position is relative to the master container. And we used a child container with a absolute position to bottom and left for the master container.
0 votes
1k views

HTML xmlns

The xmlns it is a namespace, to tell browsers where to find the document type definitions ( ~ xml schema) so it can render the page properly and the xmlns attribute is required in XHTML, but invalid in HTML. (All our examples are XHTML)
0 votes
1k views

HTML xhtml

XHTML is a stricter and cleaner version of HTML where All XHTML elements must be nested within the <html> root element. Child elements must be in pairs and correctly nested within their parent element.
0 votes
1k views

HTML index

Every website is built inside directories on a Web server. And each Web page is a separate file on that Web server. But sometimes, when you go to a URL, there is no file listed in the URL. For example: http://www.webgrid.com But there is still a file that the Web server needs to serve in order for that URL to display anything other than an error page. This file is the default page for that directory. On most Web servers, the default page in a directory is named "index.html".