Bootstrap3>5 Updagrade

Created Diff never expires
13 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
45 lines
10 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
48 lines
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<html lang="en">
<head>
<head>
<title>Bootstrap Example</title>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!-- Bootstrap 5 CSS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+Knujsl5/6en8XCp+HHAAK5GSLf2xlYtvJ8U2Q4U+9cuEnJoa3" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
</head>
<body>
<body>


<div class="container">
<div class="container">
<h2>Horizontal form</h2>
<h2>Horizontal form</h2>
<form class="form-horizontal" action="/action_page.php">
<form class="form-horizontal" action="/action_page.php">
<div class="form-group">
<div class="form-group">
<label class="control-label col-sm-2" for="email">Email:</label>
<label class="control-label col-sm-2" for="email">Email:</label>
<div class="col-sm-10">
<div class="col-sm-10">
<input type="email" class="form-control" id="email" placeholder="Enter email" name="email">
<input type="email" class="form-control" id="email" placeholder="Enter email" name="email">
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-group">
<label class="control-label col-sm-2" for="pwd">Password:</label>
<label class="control-label col-sm-2" for="pwd">Password:</label>
<div class="col-sm-10">
<div class="col-sm-10">
<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd">
<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd">
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="col-sm-offset-2 col-sm-10">
<div class="checkbox">
<div class="form-check">
<label><input type="checkbox" name="remember"> Remember me</label>
<input class="form-check-input" type="checkbox" name="remember">
<label class="form-check-label" for="remember">Remember me</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Submit</button>
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</div>
</div>
</form>
</form>
</div>
</div>


<!-- Bootstrap 5 JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-cn7l7gDp0eyniUwwAZgrzD06kc/tftFf19TOAs2zVinnD/C7E91j9yyk5//jjpt/" crossorigin="anonymous"></script>

</body>
</body>
</html>
</html>