当前位置:网站首页>Path and attribute labels of picture labels
Path and attribute labels of picture labels
2022-07-28 08:53:00 【1 South of Nancheng】
Path classification :
Absolute path and relative path
1. Absolute path
1. Absolute path refers to the path where the file really exists on the hard disk .
Be careful : Rarely used in actual development , Using absolute path can only browse on your own computer, everything is normal
2. Relative paths
Relative paths It refers to other files caused by the path of this file ( Or folder ) The path relationship of .
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Picture path and attribute labels </title>
</head>
<body>
<!--
At the same directory
1.code.jpg
2. ./code.jpg
-->
<img src="./1656487548968.jpg" alt="">
<img src="1656487548968.jpg" alt="">
<!-- Different level directories
2 ../code.jpg
-->
<img src="../1656487548968.jpg" alt="">
</body>
</html>Picture attribute tag
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Picture attribute </title>
</head>
<body>
<img src="code.jpg" alt=" Prompt picture information " title=" Describe the function of the picture ">
<img src="cede" width="200" height="200">
</body>
</html>practice : Write a simple web page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Simple web practice </title>
</head>
<body>
<h1> Flower bee </h1>
<P><strong> author : Lin Qingxuan </strong>  
<strong> source : Meiwen reading network </strong> 
<strong> Published in 2016-03-08</strong> 
<strong> Be read 18646 Time <strong> </P>
<p> I sat in the yard , Enjoying a newly opened vermilion flower , It is the morning , Zhu mouhua is still carrying the dew of last night , Smile in the morning .</p>
<p> Now , A bee came from the sun , It hardly hesitates , Stop on that Hibiscus , Invest like that 、 Absorbed and emotionally absorbed in the nectar . smile 、 Vermilion flowers with dew ; focus 、 Selfless bees , It looks like kissing </p>
<img src="1.jpg" alt="1.jpg" width="400" height="300">
<p> however , With what love did hibiscus flower and flower bee meet on the balcony of the city ? This infinite and vast space-time , It makes me feel that a bee finds a hibiscus flower is a miracle ! The line connecting their karma is not accidental !</p>
<p> however , With what love did hibiscus flower and flower bee meet on the balcony of the city ? This infinite and vast space-time , It makes me feel that a bee finds a hibiscus flower is a miracle ! The line connecting their karma is not accidental !</p>
</body>
</html>
边栏推荐
- After summarizing more than 800 kubectl aliases, I'm no longer afraid that I can't remember commands!
- Distributed system architecture theory and components
- Source code analysis of linkedblockingqueue
- HCIP第八天
- PHP基础知识 - PHP 使用 MySQLI
- JS手写函数之slice函数(彻底弄懂包头不包尾)
- PHP Basics - PHP uses mysqli
- Eight ways to solve EMC and EMI conducted interference
- Uniapp ---- detailed steps to obtain the longitude and latitude of the current position and other information (including applet)
- 竞赛:糖尿病遗传风险检测挑战赛(科大讯飞)
猜你喜欢

CAT1 4g+ Ethernet development board 232 data is sent to the server through 4G module TCP

5张图告诉你:同样是职场人,差距怎么这么大?

NDK 系列(6):说一下注册 JNI 函数的方式和时机

Among China's top ten national snacks, it is actually the first

MySQL how to add users and set permissions?

Ciou loss

Explain cache consistency and memory barrier

There is a bug in installing CONDA environment

Why is the text box of Google material design not used?

Argocd Web UI loading is slow? A trick to teach you to solve
随机推荐
Machine learning how to achieve epidemic visualization -- epidemic data analysis and prediction practice
How can MySQL query judge whether multiple field values exist at the same time
In addition to exporting the incremental data captured by Oracle golden gate to Oracle, where can it be exported? Can be similar
C #, introductory tutorial -- debugging skills and logical error probe technology and source code when the program is running
创建线程的3种方式
[opencv] generate transparent PNG image
思迈特软件完成C轮融资,让BI真正实现“普惠化”
Shell编程规范与变量
XMIND Zen installation tutorial
Can‘t connect to server on ‘IP‘ (60)
Detailed explanation of MSTP protocol for layer 3 switch configuration [Huawei ENSP experiment]
Let me teach you how to assemble a registration center?
解决:IndexError: index 13 is out of bounds for dimension 0 with size 13
Quickly build a gateway service, dynamic routing and authentication process, and watch the second meeting (including the flow chart)
SQL server time field sorting
Data fabric, next air outlet?
Mobaxtermsession synchronization
PHP基础知识 - PHP 使用 PDO
(13) Simple temperature alarm device based on 51 single chip microcomputer
Uniapp ---- detailed steps to obtain the longitude and latitude of the current position and other information (including applet)