gpt4 book ai didi

html - 到目前为止我发现闪烁的文字不起作用

转载 作者:行者123 更新时间:2023-11-28 15:55:49 24 4
gpt4 key购买 nike

我想要闪烁的电子邮件链接,以及写着“你好教授”的那一行。到目前为止我所发现的没有奏效。任何帮助都会很棒。这是我到目前为止尝试过的 text-decoration:blink;没有运气

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>Randy's first html web page !</title>
<style type="text/css">
body
{background-image:url('Koala.gif');}
h1
{
text-align:center;
font-size:500%;
}
h2
{
text-align:center;
font-size:250%;
}
p
{
text-align:center;
font-size:200%;
color:#00fff0;
}
div
{
background-color:#efffff;
}
a
{
text-align:center;
}
th
{
background-color:green;
}
tr
{
background-color:green;
}
table
{
width: 200px;
margin-left: auto;
margin-right: auto;
}
#google-link
{
margin: 0 auto;
display: block;
font-size:250%;
color:#00ff00;
}
#Mail-link
{
margin: 0 auto;
display: block;
font-size:250%;
color:#00ff00;
text-decoration:blink;
}
</style>
</head>
<h1> Hello Professor</h1>
<h2> By: Randy White</h2>
<P> It's getting better as the term goes on.</P>
<P>Week 2</P>
<P><img src="Hydrangeas.jpg" width="150" height="100" alt="Hydrangeas.jpg"></P>
<table border="1">
<tr>
<th>Month</th>
<th>Day</th>
<th>Year</th>
</tr>
<tr>
<td>December</td>
<td>13</td>
<td>2010</td>
</tr>
</table>
<a id="google-link" href="http://www.google.com">Visit Google!</a>
<a id="Mail-link" href="mailto:randywhite30@neb.rr.com"> Contact Me!</a>
</body>
</html>

最佳答案

IE(可能还有其他浏览器)不支持 text-decoration: blink。无论如何都不要这样做 - 眨眼是网络上不良品味和设计的缩影。您还可以拥有动画背景和 MIDI 音乐。我认为谷歌甚至可能会伤害你的排名,它会伤害我的感情。 ;)

让我向您保证 - 有很多更好的方法来吸引对页面元素的注意。

关于html - 到目前为止我发现闪烁的文字不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4435334/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com