<!DOCTYPE html>
<html lang="en">
<head>
<title>Learn CSS</title>
</head>
<body>
<p>All elements with the class attribute containing the word "danger" get a red border.</p>
<h2 class="warning danger">This will get styled</h2> <!--This will get a border -->
<h4 class="danger">This will get styled</h4> <!--This will also get a border -->
<h6 class="warning">This will not get styled</h6>
</body>
</html>