<!DOCTYPE html>
<html lang="en">
<head>
  <title>Ví dụ hình ảnh trong Bootstrap 4</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h3>Căn giữa hình ảnh trong Bootstrap 4</h3>
<div class="row"> 
 
    <div class="col-md-12 col-lg-12">
        <img src="https://thuthuatnhanh.com/wp-content/uploads/2019/07/anh-girl-xinh-gai-dep-co-trang-trung-quoc.jpg" class="mx-auto d-block" width="300">
    </div>
 
</div>
</div>
</body>
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.