Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Selectors Selectors - Beyond the Basics Styling Form Buttons and Links with Attribute Selectors

Arikaturika Tumojenko
Arikaturika Tumojenko
8,897 Points

Where is type="button" in the HTML?

I can't find any elements with the type="button" in our HTML but we style them in this video. Why?

3 Answers

Arikaturika Tumojenko
Arikaturika Tumojenko
8,897 Points

I did and there was nothing about precautions for different browsers - I don't remember exactly what you said, for some reason your previous answer is not visible anymore.

Arikaturika Tumojenko
Arikaturika Tumojenko
8,897 Points

What an element that doesn't exist in the HTMLhas to do with other browsers?

Thanks for asking Arikaturika Tumojenko . That would be my question. If there is non input type = button or element button = <button type="button" value="submit" >Click Me!</button> why did the teacher target the "button"?