一、运行效果
二、运行代码
1.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>登录</title>
<link rel="stylesheet" href="css/Login.css">
</head>
<body>
<div class="panel-body">
<!-- 用户登录 -->
<form role="form" method="post" action="login.php">
<fieldset>
<legend class="legend">UserLogin </legend>
<div class="form-group">
<input class="form-control" placeholder="用户名" name="username" type="text" autofocus>
</div>