Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:一个作业写一篇文章就可以了
<link rel="stylesheet" href="引入的css" />
<header>
<h1>后台管理系统 <small>(V1.1)</small></h1>
<section>
<em>admin</em>
<button onclick="logout()">退出</button>
</section>
</header>
<nav>
<a href="html文件路径" target="content">表格元素</a>
name绑定左侧<nav>下面的target
<iframe src="inc/default.html" frameborder="0" name="content"></iframe>
<script>
function logout() {
return confirm('是否退出?') ? alert('退出成功') : false
}
</script>