Home page content of H5 responsive development (3)
Bottom of the home page
##In H5, a new <footer> tag is used to make a footer. There is no need to create a new one like in html. div to write. We will still use this tag to create the footer
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <footer id="footer"> <div class="container"> <p>自学路线 | 合作相关 | 投诉建议</p> <p> 2016 PHP中文网企业网站.powered by Bootstrap.</p> </div> </footer> </body> </html>
and then control the style.
#footer{ color: white; background-color: #000000; border-top: 1px solid #ccc; padding: 20px; text-align: center; }This way our bottom bar is completed