css selectors - CSS how to target 2 attributes? -


OK if I have a & lt; Input & gt; tag submit I can:

  input [type = submit]  

In addition, if I want to target & lt; value = "delete" Tagged with I can do this:

  Input [value = delete]  

but how can I target tags with both & lt; input & gt; ?

  input [type = submit] [value = delete]  

You are cheering the selectors Each step compresses your search results:

  input  

gets all input.

  Input [Type = submit]  

compresses it to be processed, while

  input [type = submit] [value = delete]  

It compresses what you want.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -