href方法,href怎么使用

首页 > 技术 > 作者:YD1662023-04-16 13:29:45

里头的字默认就是蓝色,有下划线。当然字体也可以调整可以通过css里的text-decoration:none,来取消下划线,通过color来调整字体颜色。代码效果如下

The words in it are blue by default and underlined. Of course, the font can also be adjusted. You can cancel the underline by text-decoration: none in css, and adjust the font color by color. The code effect is as follows

href方法,href怎么使用(5)

href方法,href怎么使用(6)

咱们再回到网站最重要的一点就是打开方式,用target来引用,样式为<a href=”#” target=””></a>,其中有blank,在新的一个页面打开,self,在本页面打开(默认为)parent(在a里面打开,以后知识齐全再讲)以及top 和framename最常用的就是前两个。

Let's go back to the website's most important point, which is how to open it. Use target to quote it, and the style is < a href = "#" target = "> </a >, among which blank, open on a new page, self, open on this page (default is) parent (open in A, we'll talk about it later), top and framename, and the most commonly used ones are the first two.

总结如下:

Summarize as follows:

href方法,href怎么使用(7)

今天的分享就到这里了。如果您对今天的文章有什么独特的想法,欢迎评论留言,让我们相约明天,祝您今天过得开心快乐!

That's it for today's sharing. If you have any unique ideas for today's article, please leave a comment, let us meet tomorrow, I wish you a happy day!

LearningYard学苑

分享兴趣,传播快乐,增长见闻,留下美好!少年易老学难成,一寸光阴不可轻

本文由learningyard新学苑原创,如有侵权,请联系删除。

翻译来源:谷歌翻译

排版:李仕阳

文本:李仕阳

审核:闫庆红

上一页12末页

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.