The layer tag syntax is covered in the CodeHelp site.Remember that the use of layer tag to display external HTML content is not part of HTML4 and future releases of Netscape are likely to use the <object> tag as currently suppported by Microsoft Internet Explorer.
The layer tag itself actually has no attributes defined in HTML4.Layers should not be explicitly defined with <layer> but described with <div>and <span>. Use the ID attribute to give the new layer a name that can be used by Javascript. This creates an HTML file that will display in both IE and Netscape. Creating a Javascript function that will work in both browsers (using a programming approach called across-browser DOM). CodeHelp does not use this approach at present because there are useful features of each browser that make it preferable to use distinct pages rather than one page for both. For help creating pages that serve both v4 browsers, see thefollowing texts:
Used within the <ul> or <ol> tags to create the actual items of the list. Every list item should use the endtag </li> but many WYSIWYG web page editors omit the tag which can cause problems validating the resulting HTML file. The <li> tag attributes are now deprecated in HTML4. Use CSS list-style-image and list-style-type properties of the <li> tag.
Used within the <head> section to link certain external items into the page, mostcommonly an external stylesheet file.
<link rel="stylesheet" type="text/css" href="../mycssfile.css">
Also used to link external icons for use in bookmarks and address bars in certain browsers,e.g. Konqueror on Linux.
<LINK REL="SHORTCUT ICON" HREF = "favicon.png">
Microsoft Internet Explorer uses a default icon without requiring the link tag, when a site is added to Favourites, IE looks for a file named favicon.ico
in the current or top-level directory.
Top
For information on general links to HTML documents andsections see the following topics:
Other topics on this subject include:
All attributes, including start, are deprecated in HTML4.
This behaviour can be overridden by CSS. For example, in the above lists, the decimal list type was specifically set for OL and disc type for UL. Take care when you change the liststyle type within a document - the style rule is inherited and subsequent lists in the same documentwill not behave in the default fashion. If you want to have more than one customised list in a singledocument, make sure you state the changed list style type for each <li> tag. (Use a class selectorto reduce typing.)