网站首页 > 技术文章 正文
点击蓝字 关注我们
分享兴趣,传播快乐,增长见闻,留下美好!亲爱的您,这里是Learning yard新学苑。今天小编为大家带来《a标签的使用方法》。
Share interest, spread happiness, increase knowledge, and leave behind beauty! Dear you, this is Learning yard New Academy. Today, Xiaobian brings you "How to Use A Label".
前端网页的打开方式:
一般用标签a来引用例如<a href=”#”></a>填写#的地方就是你需要跳转的网站例如:
How to open the front page:
Generally, web pages are quoted by the label A, for example < a href = "#" > </a > The place where # is filled in is the website you need to jump to, for example:
标签中间写字,就可以得到以下效果:
里头的字默认就是蓝色,有下划线。当然字体也可以调整可以通过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
咱们再回到网站最重要的一点就是打开方式,用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:
今天的分享就到这里了。如果您对今天的文章有什么独特的想法,欢迎评论留言,让我们相约明天,祝您今天过得开心快乐!
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新学苑原创,如有侵权,请联系删除。
翻译来源:谷歌翻译
排版:李仕阳
文本:李仕阳
审核:闫庆红
猜你喜欢
- 2025-07-02 筛选了100个配色工具后,我挑出了这25个
- 2025-07-02 好程序员:前端JavaScript全解析——Canvas绘制形状(上)
- 2025-07-02 用 Cursor 开发 10 +项目后,汇总了40 多条提示词
- 2025-07-02 Piny:代码编辑界的“视觉革命”,让前端开发从此“看得见”!
- 2025-07-02 印刷色彩特性曲线是什么?有什么用?怎么获取?
- 2025-07-02 前端最常用的25个正则表达式,代码效率提高 80%
- 2025-07-02 让 浏览器智能选择颜色?CSS 这个新功能太聪明了!
- 2024-10-08 HTML常用全部代码,你懂,你不想成功都难
- 2024-10-08 纯CSS文字聚光灯效果~#web前端 聚光灯wps
- 2024-10-08 css基础必备-元素背景,前端小白一看就会
你 发表评论:
欢迎- 586℃几个Oracle空值处理函数 oracle处理null值的函数
- 580℃Oracle分析函数之Lag和Lead()使用
- 567℃0497-如何将Kerberos的CDH6.1从Oracle JDK 1.8迁移至OpenJDK 1.8
- 564℃Oracle数据库的单、多行函数 oracle执行多个sql语句
- 560℃Oracle 12c PDB迁移(一) oracle迁移到oceanbase
- 553℃【数据统计分析】详解Oracle分组函数之CUBE
- 539℃最佳实践 | 提效 47 倍,制造业生产 Oracle 迁移替换
- 533℃Oracle有哪些常见的函数? oracle中常用的函数
- 最近发表
- 标签列表
-
- 前端设计模式 (75)
- 前端性能优化 (51)
- 前端模板 (66)
- 前端跨域 (52)
- 前端缓存 (63)
- 前端react (48)
- 前端aes加密 (58)
- 前端脚手架 (56)
- 前端md5加密 (54)
- 前端路由 (61)
- 前端数组 (73)
- 前端js面试题 (50)
- 前端定时器 (59)
- 前端懒加载 (49)
- Oracle RAC (73)
- oracle恢复 (76)
- oracle 删除表 (48)
- oracle 用户名 (74)
- oracle 工具 (55)
- oracle 内存 (50)
- oracle 导出表 (57)
- oracle 中文 (51)
- oracle的函数 (57)
- 前端调试 (52)
- 前端登录页面 (48)
本文暂时没有评论,来添加一个吧(●'◡'●)