Skip to content

Commit

Permalink
hzuapps#47 第2次实验~练习CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
linmaoquan committed Sep 27, 2017
1 parent becf9af commit e376ae8
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
39 changes: 39 additions & 0 deletions 1517060316/21517060316.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<style type="text/css">
h1{
color:blue;
}
div{
margin:5px;
background-color:grey;
width:200px;
height:200px;
}
</style>
<title>CSS样式的练习</title>
</head>

<body>
<h1>我是一号标签</h1>
<p>这些段落的颜色为红色</p>
龙的传人
<p>这些段落的颜色为红色</p>
<div id="hezi">
<table border="1px solid red" width="100px" align="center" role="1">
<tr>
<td align="center">登录窗口</td>
</tr>
<tr>
<td>账户:<input name="name" type="text" value="12"></td>
</tr>
<tr>
<td>密码:<input name="password" type="password" value="12"></td>
</tr>
</table>
</div>
</body>
</html>
7 changes: 7 additions & 0 deletions 1517060316/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
p{
color:red;

}
td{
border:red;
}

0 comments on commit e376ae8

Please sign in to comment.