Monday 21, May 2012
Welcome Guest, Register | Login  
      Home    |    Tutorials    |    Free Ebooks    |    Free Scripts    |    Articles    |    Blog     |    About Us    |    Contact Us

Layer tag

The layer tag is a new tag introduced in Netscape 4 that allows authors to position and animate (through scripting) elements in a page. A layer can be thought of as a separate document that resides on top of the main one, all existing within one window.
<layer>This is a Layer Tag Text</layer>
The tag is a content tag, which means you can add into it content (like ). The text inside the layer floats above other text, and overlaps them. Imagine a layer as a sheet of paper that resides on top of the rest of the page, and does not take up space within the flow of the document.

 

Tag Attributes

id:
Id attribute is used for an identification handle, or name, for the layer. The ID must begin with an alphabetic character.
left/ top:
The LEFT and TOP parameters specify the horizontal and vertical positions of the top-left corner of the layer within its containing layer, or within the document. These are optional attributes.
bgColor
It specifies the background color of the layer. It is an optional attribute.
width/ height
The width and height attributes determines the width and height of the layer at which the layer's contents wrap. You can specify the value of these attributes as an integer value, or as a percentage of the width of the containing layer.
visibility
The VISIBILITY parameter determines whether the layer is visible or not. A value of HIDE hides the layer; SHOW shows the layer.
src:
It specifies an external file that contains HTML-formatted text to be displayed in this layer.


 
     
   
DHTML Tutorial
 
  DHTML Introduction
DHTML Introduction
  Layer tag
Layer tag
  Style object of IE
Style object of IE
  Span Tag
Span Tag
  DHTML Events
DHTML Events
  DHTML CSS
DHTML CSS
 
 
 
Web Designing Tutorials
  HTML Tutorial
HTML Tutorial
  DHTML Tutorial
DHTML  Tutorial
  CSS Tutorial
CSS Tutorial
  XHTML Tutorial
XHTML Tutorial
 
Programming Languages Tutorials
  C Language Tutorial
C Language Tutorial
  C++ Tutorial
C++ Tutorial
  Java Language Tutorial
Java Language Tutorial
  Data Structure Theory Tutorial
Data Structure Theory Tutorial
 
Server Side Scripting Tutorials
  PHP Tutorial
PHP Tutorial
  SQL Tutorial
SQL Tutorial
  ASP Tutorial
ASP Tutorial
 
Client Side Scripting Tutorials
  JavaScript Tutorial
JavaScript Tutorial
  VBScript Tutorial
VBScript Tutorial
 
 
 
POPULAR E-BOOKS
 
Download GoogleSecrets TipsandTricks Ebook GoogleSecrets TipsandTricks
   
Download SEO  Search Engine Optimization Made Easy Ebook SEO Search Engine Optimization Made Easy
   
Download Landing Page Success Guide  Ebook Landing Page Success Guide
   
Download PodcastingForFun&Profit Ebook PodcastingForFun&Profit
   
Download Ajax Design Patterns  Ebook Ajax Design Patterns
   
 
Studiesinn.com © 2012 All Rights Reserved.
Website Designed & Developed by TechXprtz