|
To access the contents, click the chapter and section titles.
Platinum Edition Using HTML 4, XML, and Java 1.2
This code sets the documents base URL to http://www.myserver.com/index.html and the base frame for targeting hyperlinks to the frame named bigframe. <ISINDEX> Type: Standalone Function: Produces a single-line input field used to collect query information. Syntax: <ISINDEX PROMPT=Please enter the value to search for.> Attributes: The PROMPT attribute specifies what text should appear before the input field. In the absence of a PROMPT attribute, the text will read This is a searchable index. Enter search criteria: Example: <HEAD> <ISINDEX PROMPT=Enter the last name of the employee you want to search for:> ... </HEAD>
<META> Type: Standalone Function: Defines document meta-information, such as keywords, expiration date, author, page generation software used, and many other document-specific items. It also supports the notion of client pulla dynamic document technique in which the browser loads a new document after a specified delay. Syntax: <META HTTP-EQUIV=header CONTENT=value> or <META NAME=name CONTENT=value> Attributes: The <META> tag takes the following attributes:
Example: <HEAD> <!-- The first <META> tag instructs the browser to load a new page after 5 seconds. --> <!-- This is useful for creating a splash screen effect. --> <META HTTP-EQUIV=Refresh CONTENT=5; URL=http://www.myserver.com/index2.html> <!-- The remaining <META> tags specify author and keyword information. --> <META NAME=AUTHOR CONTENT=Eric Ladd> <META NAME=KEYWORDS CONTENT=Main page, welcome, neat stuff> ... </HEAD> <LINK> Type: Standalone Function: Denotes the linking relationship between two files. Syntax: <LINK HREF=url_of_linked_file TITLE=title REL=forward_relationship REV=reverse_relationship> Attributes: The <LINK> tag takes the following attributes:
Table 3.3 shows some possible values for REL and REV and what these values mean.
Example: <HEAD> <LINK HREF=/style/styles.css REL=Stylesheet> <LINK HREF=/index.html REL=Home> <LINK HREF=/help.html REL=Help> <LINK HREF=back_one.html REV=Previous> ... </HEAD>
|
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |