今天去补习英语,和老师说了我会做网页,然后......咳
嗯.......
然后老师就让我用英语去给一段代码做注释
怂呐,我感觉就是我挖了一个坑自己跳了下去
但是没办法,作业必须得做
英语很差,别喷
源码选自本站登录页面
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<div class="ex-login">
<div class="ex-login-title">
<!--use css-->
<p><img src="https://cdn.jsdelivr.net/gh/moezx/[email protected]/img/Sakura/images/none.png"></p>
<!--add image-->
</div>
<form action="<?php echo home_url(); ?>/wp-login.php" method="post">
<!--add post file-->
<p><input type="text" name="log" id="log" value="<?php echo _POST['log']; ?>" size="25" placeholder="Name" required /></p>
<!--add the ID text box-->
<p><input type="password" name="pwd" id="pwd" value="<?php echo_POST['pwd']; ?>" size="25" placeholder="Password" required /></p>
<!--add the password text box-->
<p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" <?php checked( rememberme ); ?> /> <?php esc_html_e( 'Remember Me' ); ?></label></p>
<!--add 'remenber me'text box-->
<input type="hidden" name="redirect_to" value="<?php echo_SERVER['REQUEST_URI']; ?>" />
<input class="button login-button" name="submit" type="submit" value="登 入">
<!--login botton-->
</form>
<div class="ex-new-account" style="padding: 0;"><p>请先注册!Register first, plz!</p><p><a href="<?php echo akina_option('exregister_url') ? akina_option('exregister_url') : bloginfo('url'); ?>" target="_blank">Register</a>|<a href="<?php echo site_url(); ?>/wp-login.php?action=lostpassword" target="_blank">Lost your password?</a></p></div>
<!--register url and lost password url-->
</div>
</main>
</div>
Comments | NOTHING