<html>
<head>
<title>这是标题</title>
<link rel="stylesheet" type="text/css" href="css.css">
**<style type="text/css">
.right{text-align:right}
</style>**
</head>
<body>
<h1><font color="red">一级标题</font></h1>
<a href="http://www.baidu.com" target="_blank">点此跳转链接</a><br><br><br>
<!--<table border="1" align="center" width="80%">
<tr color="green">
<th>第一行第一列</th>
<td align="center"><B>hh</B></td>
</tr>
<tr>
<td color="red">第二行</td>
</tr>
</table>
<link rel="stylesheet" type="text/css" href="css.css">-->
<form>
username:<input type="text" value="wangluo" class="right"><br>
password:<input type="password">
<br>
复选框:复选1<input type="checkbox">
复选2<input type="checkbox">
复选3<input type="checkbox"><br>
单选框: 男<input type="radio" name="gender">
女<input type="radio" name="gender">
其他<input type="radio" name="gender"><br>
<p class="right">这是一个段落</p>
学历:<select>
<option>小学</option>
<option>大学</option>
<option>中专</option>
</select><br>
评论:<textarea>
</textarea><br><br>
文件上传:<input type="file">
<input type="submit" value="提交">
<input type="reset" value="重置">
<input type="button" value="这是一个普通的按钮" onclick="javascript:alert('你上当了!=。=');"><br><br><br><br><br><br>
</form>
</body>
</html>
我标记出来的那里内嵌样式表,不知道为何起不了作用, 我的这个内容和css.css文件是处于同一目录下的