-
Notifications
You must be signed in to change notification settings - Fork 0
/
alert.html
20 lines (20 loc) · 987 Bytes
/
alert.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="grid.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="alert alert-success alert-dismissible "><!--alert is used to create a aalert in the page
they can be dismissed or we can put link into it-->
<button type="button" class="close" data-dismiss="alert">×</button><!--here we are using the button for dismiss
the alert class close used to close the alert × is to get x button in the page-->
<strong>sucess</strong>this is sucess you can close it now
</div>
</body>
</html>