昨天本来要学的不止那么一点的,但是我突然看见了一条能够提升自己的消息,就去查了一下,发现了一个机会。以后每天有可能会进行较长时间的计算机教材的学习,html的进度会稍微慢一点,但是打卡的内容会少一点,因为教材上已经有的就不再重复了。
昨天是给网址增加成品CSS样式
backgroud-color:#颜色的十六进制码; 设置背景颜色
margin-left:20%; 设置页面左边外边距占页面的百分之二十
border:2px dotted black; 页面主体边框是一像素宽的黑色虚线
padding:10px 10px 10px 10px; 在页面主体周围创建一些内边距,十像素宽
font-family:sans-serif; 定义文本使用宋体
根据教材自己创建了一个不一样的网页进行练习,与下面的练习一同,截图放在章尾处
今天学习到的另外一个内容是在html文件中创建链接:
<a href="一点点推荐饮品.html"> 单击文字</a>
经过测试,大概知道为什么书中要强调是成品CSS了,没有成品无法调用格式显示页面,带着疑问继续往下学吧。
在去除CSS样式后页面能够正常显示,链接可以跳转。
今天就到这里啦,接下来的学习是关于链接如何实现跳转的理论知识,我直接在书上进行笔记了。