HTML 일부 초급 코드

2948 단어 html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="jsPractice.js"></script>
<title>Insert title here</title>
</head>

<body bgcolor ="white">
<script type="text/javascript">
 document.write("Hello World!");
</script>
<INPUT TYPE="button" NAME="myButton" VALUE="Click Here" 
onClick="myFunc()">

<h1>My First Heading</h1>

<p>              HTML.</p>
<p>       HTML    </p>
<p>     web    </p>
<p>      </p>
<p>
<a href="http://www.w3school.com.cn">This is a link</a>
</p>
<img src="11.jpg" width="79" height="24" />


<p>This is<br />a para<br />graph with line breaks</p>


<p style="font-family:verdana;color:red">
This text is in Verdana and red</p>

<p style="font-family:times;color:green">
This text is in Times and green</p>

<p style="font-size:30px">This text is 30 pixels high</p>
<br />


<br />

<table border="1">

<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>

<form name="input" action="" method="get">
Username: <input type="text" name="user" />
           <input type="submit" value="Submit" />
</form>


<form>
      :
<input type="checkbox" name="Bike">
<br />
     :
<input type="checkbox" name="Car">
</form>

<map name="planetmap" id="planetmap">
  <area shape="circle" coords="180,139,14" href ="venus.html" alt="Venus" />
  <area shape="circle" coords="129,161,10" href ="mercur.html" alt="Mercury" />
  <area shape="rect" coords="0,0,110,260" href ="sun.html" alt="Sun" />
</map>
</body>
</html>


좋은 웹페이지 즐겨찾기