(Beta) Step 50: Learn HTML Forms by Building a Registration Form

The Step text says:

"Here is an example:


The above selects input elements with a name attribute value of password .

Now, use the attribute selector to style the submit button with a display of block , and a width of 60% ."

The attribute should be type, not name, and the interface correctly catches this.

Thank you!

1 Like

I’m not sure I understand what you mean. The input element has both a name and type of password.

1 Like



The Tutorial is asking you write an Input with the` type="submit"`.

It then asks you to Style it in CSS, with :

The display of Block
and width of 60%

The Language of the instruction is a little Obscure, and perhaps, being the BETA, will be refined when done.

1 Like

Thank you both, I understand now.


No final o codigo deverá ficar da seguinte forma:

input[type=“submit”] {
display: block;
width: 60%;

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.