概述
web.xml 3.1.0
Dustin Diaz has posted on his blogs (what's a blog? there were no blogs in good old web 1.0) "7 hottest web 1.0 techniques". While those are nice and highly recommended, let me in on a few little secrets.
达斯汀·迪亚兹(Dustin Diaz)在他的博客上发布了(什么是博客?在旧的Web 1.0中没有博客)“ 7个最热门的Web 1.0技术”。 虽然这些都不错并且值得推荐,但让我介绍一些小秘密。
1.脚本语言= JavaScript (1. script language=JavaScript)
When including a script into a page, you need to specify the language. First of all there's also VBScript and we need to make a difference. Second, this is more future-proof - who knows what other scripting languages the future has in store for us.
在页面中包含脚本时,需要指定语言。 首先还有VBScript,我们需要有所作为。 其次,这更加面向未来-谁知道未来还有什么其他脚本语言可供我们使用。
Proper capitalization of JavaScript is crucial.
JavaScript的正确大小写至关重要。
<script language=JavaScript>
2.图像翻转 (2. Image rollovers)
There's a better way to do rollovers - directly in the image tag! Shorter and more convenient - all the code is in one place. This makes it much, much more easier to code your CMS.
有更好的方法来进行翻转-直接在图片标签中! 更短,更方便-所有代码都放在一个地方。 这使得编写CMS的代码变得容易得多。
<img
src=off.gif
onmouseover='this.src="on.gif"'
onmouseout='this.src="off.gif"'>
3.链接上线 (3. Link overline)
OK, I didn't want to share this, because it's way too cool for just anyone to know, I should've kept it for myself.
好的,我不想分享这个信息,因为它太酷了,任何人都不知道,我应该自己保留它。
a {text-decoration:none;}
a:hover{border-top: 1px solid;}
Tell your friends about this post on Facebook and Twitter
在Facebook和Twitter上告诉您的朋友有关此帖子的信息
翻译自: https://www.phpied.com/3-additional-web-10-tips-and-tricks/
web.xml 3.1.0
最后
以上就是无聊花瓣为你收集整理的web.xml 3.1.0_3个其他Web 1.0提示和技巧的全部内容,希望文章能够帮你解决web.xml 3.1.0_3个其他Web 1.0提示和技巧所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复