aplicar JScript
Publicado por aldo (20 intervenciones) el 03/03/2009 20:43:09
Estoy aprendiendo a aplicar JavaScript en HTML, y necesito saber como puedo hacer que un texto resalte o titile en una pagina.
de antemano se los agradezco. Saludos.
este es el codigo:
Y DONDE DICE: ¡Registrese Ahora! debe resaltar pero no hayo la forma para hacerlo o es que falta algo.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cooperativa</title>
<!--<script type="text/javascript">
var txt="¡Regístrese Ahora!";
document.write("<td>Blink: " + txt.blink() + "</td>");
</script>-->
</head>
<body>
<form>
<table width="150" border="0" cellspacing="0" cellpadding="0" bgcolor="#C9D6F5">
<tr>
<td width="150" align="left" valign="top">
<tr bgcolor="#FF0000"><td bordercolor="#00FF00"><a href="arreglo.php" target="cuerpo" >¡Regístrese Ahora!</a>
</td>
</tr>
</table>
<td width="490" align="left" valign="top">
<table width="490" border="0" cellspacing="0" cellpadding="0">
</table>
</form>
</body>
</html>
de antemano se los agradezco. Saludos.
este es el codigo:
Y DONDE DICE: ¡Registrese Ahora! debe resaltar pero no hayo la forma para hacerlo o es que falta algo.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cooperativa</title>
<!--<script type="text/javascript">
var txt="¡Regístrese Ahora!";
document.write("<td>Blink: " + txt.blink() + "</td>");
</script>-->
</head>
<body>
<form>
<table width="150" border="0" cellspacing="0" cellpadding="0" bgcolor="#C9D6F5">
<tr>
<td width="150" align="left" valign="top">
<tr bgcolor="#FF0000"><td bordercolor="#00FF00"><a href="arreglo.php" target="cuerpo" >¡Regístrese Ahora!</a>
</td>
</tr>
</table>
<td width="490" align="left" valign="top">
<table width="490" border="0" cellspacing="0" cellpadding="0">
</table>
</form>
</body>
</html>
Valora esta pregunta


0