2017年9月27日

<button type="button">Click Me!</button>

“click Me!”为可修改的按钮显示出的字样。

<html>
<body>

<h3>This is a header</h3>
<p>This is a paragraph.</p>

<div style="color:#00FF00">
  <h3>This is a header</h3>
  <p>This is a paragraph.</p>
</div>

</body>
</html>

div 标签可以把文档中中的某些部分的样式更改。如上例子,<h3>、<p>显示为"color为#00FF00",而前两段<h3><p>为默认颜色。

<p style="text-align: center;font-family: 'arial rounded mt bold' ;color:#00BFFF;">

定义<p>段落里的文本对齐方式、字体的型号以及字体颜色。

		<form>账号:<input type><br><br>
			  密码:<input type>
			  <br><br><input type="submit" value="点的动算我输">
		</form>

设置输入栏,(账号、密码。),input type(输入类型),submit(提交),value定义提交框显示的文字。

猜你喜欢

转载自my.oschina.net/u/3698732/blog/1544325