<!DOCTYPE html> <html> <head> <style> #grad1 { height: 200px; background-color: red; /* For browsers that do not support gradients */ background-image: linear-gradient(to right, red , yellow); /* Standard syntax (must be last) */ } </style> </head> <body> <pre class="pre-style"> </body> </html>