1.新窗口打开链接
<a href="输入链接" target="_blank">输入文字</a>
显示效果
给链接增加 Title
链接title是当鼠标悬停在链接上时会出现的文字,这个title是可选的,它放在圆括号中链接地址后面,跟链接地址之间以空格分隔。
这是一个链接 [Markdown语法](https://markdown.com.cn "最好的markdown教程")。
显示效果
这是一个链接 Markdown语法
给链接增加外部链接图标,添加title,在新窗口打开
<p>前面如果没字就删掉<strong><a href="输入链接" target="_blank" title="输入title">在输入要添加链接的文字</a><svg viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></strong>
# 前面不添加文字就把 前面如果没字就删掉 删掉
# 不在新窗口打开就把 target="_blank" 删掉
# 不添加title就把 title="输入title" 删掉
# 不要外部链接图标就把 <svg viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></strong> 删掉
显示效果
请点击,在新窗口打开首页
这是不在新窗口打开在新窗口打开首页
这是不添加title在新窗口打开首页
这是不要外部链接图标在新窗口打开首页
2.文字居中
<center>输入要居中的文字</center>
显示效果
输入要居中的文字
3.更改字体颜色,更改字体,更改字体大小
<font color=LightSlateBlue face="黑体" size=5>输入文字</font>
# color=#0099ff 更改字体颜色
# face="黑体" 更改字体
# size= 5 更改字体大小
显示效果
输入文字
4.嵌套其他元素
显示效果
- 123
- 123
<font color=LightSlateBlue face="黑体" size=5>输入文字</font>
- 123
- 123