India seo web development website designer freelance

About HTML code for layers

When you place a layer in a document, inserts the HTML tag for that layer in your code. You can choose to have use either the div tag or the span tag for your layers. By default, creates layers using the div tag. Note: There are two other tags that you can use to create layers: layer and ilayer. However, these tags are supported only in Netscape Navigator 4; Internet Explorer does not support these tags, and Netscape discontinued support for these tags in later browsers. recognizes the layer and ilayer tags, but does not create layers using these tags. To change the default tag, see Setting Layers preferences. The difference between the div and span tags is that browsers that don’t support layers place extra line breaks before and after the div tag; that is, the div tag is a block-level element, while the span tag is an inline element. In most cases, it’s better for layer content to appear in a paragraph of its own in browsers that don’t support layers, so in most cases it’s better to use div than span. To further improve readability in older browsers, be careful where you place the code for a layer. The code that defines a layer can be anywhere in the body of an HTML file. When you draw a layer in , the layer is displayed where you drew it, but inserts the layer’s code at the beginning of the page, just after the body tag. (If you use the Insert Layer command instead of drawing a layer, the layer code is inserted at the insertion point.) If you create a nested layer, inserts the code inside the tag that defines the parent layer. Note: Regardless of which tag you use, versions of both Internet Explorer and Netscape Navigator prior to 4.0 display the contents of a layer, but do not position the layer. The layer’s contents appear at the point in the page where the layer’s code is; for example, if the layer’s code is at the beginning of the page, the layer’s contents will appear at the beginning of the page in browsers that don’t support layers.

1 2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 422

India web developer website development India