Use the generic close icon for dismissing content like modals and alerts.
<!DOCTYPE HTML>
<html>
<head>
<link href="http://java2s.com/style/bootstrap.min.css" rel="stylesheet">
</head>
<body style='margin:20px;'>
<button type="button" class="close">×</button>
</body>
</html>