Get your own website Result Size: 625 x 534
x
 
<!DOCTYPE html>
<html>
<head>
<style>
h1 {background-color: yellow;}
h1 {background-color: red;}
</style>
</head>
<body>
<h1>This is heading 1</h1>
</body>
<!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_specificity1 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 16:49:47 GMT -->
</html>