
In HTML, different elements have attributes that contain link to the other resources. The values of these attributes are URL’s, these can be absolute or relative URL’s.
The
以下是HTML
必须在
立即学习“前端免费学习笔记(深入)”;
| S.No. | 的中文翻译为:S.No. | 属性和描述 |
|---|---|---|
| 1 |
href 基本URL |
|
| 2 |
目标
传媒公司模板(RTCMS)1.0
下载
传媒企业网站系统使用热腾CMS(RTCMS),根据网站板块定制的栏目,如果修改栏目,需要修改模板相应的标签。站点内容均可在后台网站基本设置中添加。全站可生成HTML,安装默认动态浏览。并可以独立设置SEO标题、关键字、描述信息。源码包中带有少量测试数据,安装时可选择演示安装或全新安装。如果全新安装,后台内容充实后,首页才能完全显示出来。(全新安装后可以删除演示数据用到的图片,目录在https:// 在哪里打开目标URL − _blank - 目标URL将在新窗口或选项卡中打开。 _self - the target URL will open in the same frame as it was clicked. _parent - 目标URL将在父级框架中打开 _top - 目标URL将在顶部框架中打开,即窗口的完整主体。 |
语法
<base herf= “base link…” target= “value”/>
Example 1
的翻译为:示例1
以下是使用HTML中的
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="description" content="meta tag in the web document"> <meta name="keywords" content="HTML,CSS"> <meta name="author" content="lokesh"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Declaring the BASE URL --> <base href="C:\Users\LOKESH BADAVATH\OneDrive\Desktop\TUTORIAL'S POINT\images\"target="_blank"/> </head> <body> <img src="https://www.tutorialspoint.com/static/images/logo-color.png" / alt="如何使用``标签来定义HTML页面的基本URL?" > </body> </html>
Example 2
的中文翻译为:示例2
使用
<!DOCTYPE html> <html> <head> <title>HTML base Tag</title> <base href = "http://www.tutorialspoint.com" /> </head> <body> HTML: <br><img src = "https://tutorialspoint.com/images/html.gif" / alt="如何使用``标签来定义HTML页面的基本URL?" > </body> </html>











