当前第2页 返回上一页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <!DOCTYPE html><html lang= "en" ><head>
<meta charset= "UTF-8" >
<title>Document</title>
<style>
body { margin: 0; padding: 0; }
p { font-size: 0;
height: 41px; border-top: 4px solid red; border-bottom: 1px solid gray; }
a { display: inline-block; height: 41px; text-align: center; line-height: 41px; text-decoration: none; padding: 0px 5px; background-color: red; font-size: 14px; font-family: 楷体; }
.shouye { margin-left: 200px; }
.shouye:hover { background-color: gray; }
</style></head><body>
<p>
<a class = "shouye" href= "#" >设为首页</a>
<a href= "#" >手机新浪网</a>
<a href= "#" >移动客户端</a>
</p></body></html>
|
效果预览:

【推荐学习:HTML视频教程】
以上就是html怎么去掉空格的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
Html元素有哪些自带样式,如何去除
关于Html中rel属性的分析
Html中的空格符号有哪些
如何实现Html中鼠标经停时整行(tr)变色
frameset框架怎么用?frameset框架属性的使用
Html中表格form相关的知识讲解(代码示例)
Html实现自定义图片上传按钮
Html下划线怎么设置?Html下划线样式实例分析
怎么在标签中写css样式
Html px、em、pt长度单位
更多相关阅读请进入《Html》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » html怎么去掉空格