发表于: 2019-02-23 19:05:35
1 844
今天先接触了html 学习了一点用记事本做网页的知识
<html>
<body>
<h1>标题</h1> 数字1是代表标题字大小规格
<p>这是段落</P>
<a href="http://www.jnshu.com">这是个链接</a>
<img src="lll.jpg" width="200" height="300" />
</body>
</html>
晚上还看了css类选择器
<html>
<head>
<style type="text/css">
.important {color:red; font-size:50;}
.important.easy {background:silver;}
</style>
</head>
<body>
<h1 class="important">修真院是个好地方</h1>
<p class="important easy">我想好好在这里学习知识</p>
</body>
</html>
效果图如上
评论