我无法弄清楚我的任务 [英] I cant figure out my assignment

查看:76
本文介绍了我无法弄清楚我的任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该页面使用Arial字体系列。如果Arial不可用,那么你想要回到通用的sans-serif字体系列。登录表单在页面中水平居中。登录表单有一个4px纯黑色边框。表单字段之间有10px的边距。要完成本课程,您不需要更改用于创建登录表单的任何HTML。



我尝试过:



<!doctype html>

< html lang =en>

< head>

< meta charset =utf-8>

< title> CSS Assignment< / title>



输入[type ='text'] {

border:solid 4px black;

background-color:yellow;

}





< / head>

< body>

< form>

The page uses an Arial font family. If Arial is not available then you want to fall back to a generic sans-serif font family. The login form is centered horizontally in the page. The login form has a 4px solid black border. There is a 10px margin between the form fields. To complete this lesson, you should not need to alter any of the HTML used to create the login form.

What I have tried:

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CSS Assignment</title>

input[type='text']{
border: solid 4px black;
background-color: yellow;
}


</head>
<body>
<form>



< label for =username>用户名:< / label>

< ;输入id =用户名/>


<label for="username">Username:</label>
<input id="username" />






< label for =password> ;密码:< / label>

< input id =passwordtype =password/>


<label for="password">Password:</label>
<input id="password" type="password" />



<按钮>登录< /按钮>

< ; / form>



< / body>

< / html>


<button>Login</button>
</form>

</body>
</html>

推荐答案

在完成 CSS教程 [ ^ ]努力。


您的作业是创建css部分将具有所要求的效果。



我们不做你的HomeWork。

HomeWork不会测试你的技能乞求其他人做你的工作,它会让你思考并帮助你的老师检查你对所学课程的理解,以及你应用它们时遇到的问题。

你的任何失败都会帮助你的老师发现你的弱点并设定补救措施。

所以,试一试,重读你的课程并开始工作。如果您遇到特定问题,请展示您的代码并解释这个问题,我们可能会提供帮助。
Your assignment is to create the css part that will have the requested effects.

We do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.


这篇关于我无法弄清楚我的任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆