使用 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>
广告