使用 Bootstrap 让元素看起来像标题
要让某个元素看起来像标题,可以尝试运行以下代码 −
示例
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <div class = "container"> <h1>Planet</h1> <h2>Earth</h2> <h3>Asia</h3> <h4>India</h4> <h5>Hyderabad</h5> <h6>Madhapur</h6> </div> </body> </html>
广告