Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of attribute selector</title> <style> input[type="text"] { border:1px solid red; } input[type="submit"] { border:1px solid green; } </style> </head> <body> <form> <input type="text"> <input type="submit" value="Submit"> </form> </body> </html>