Bootstrap do a simple website homepage

Source: Internet
Author: User
Tags button type

<! DOCTYPE html>
<meta charset= "UTF-8" >
<meta http-equiv= "x-ua-compatible" content= "Ie-edge" >
<meta name= "viewport" content= "width=device-width,initial-scale=1"/>
<title> website Home </title>
<link rel= "stylesheet" type= "Text/css" href= "./bootstrap-3.3.7-dist/css/bootstrap.min.css" >
<script type= "Text/javascript" src= "./bootstrap-3.3.7-dist/js/jquery.min.js" ></script>
<script type= "Text/javascript" src= "./bootstrap-3.3.7-dist/js/bootstrap.min.js" ></script>
<style type= "Text/css" >
. Jumbotron {
Background:url (./images/mous.jpg);

        }  </style>

<body>
<nav class= "NavBar navbar-default navbar-fixed-top" >
<div class= "Container" >
<div class= "Navbar-header" >
<button type= "button" class= "Navbar-toggle collasped" data-toggle= "collapse" data-target= "#menu1" >
<span class= "Icon-bar" ></span>
<span class= "Icon-bar" ></span>
<span class= "Icon-bar" ></span>
</button>
<a class= "Navbar-brand" > website name </a>
</div>
<div class= "Collapse navbar-collapse" id= "menu1" >
<ul class= "nav navbar-nav nav-tabs" >
<li><a href= "#" > Home </a></li>
<li><a href= "#" > Company Profile </a></li>
<li class= "Dropdown" >
<a href= "#" data-toggle= "dropdown" >
Product Catalog
<span class= "Caret" ></span>
</a>
<ul class= "Dropdown-menu" >
<li><a href= "#" > Product 1</a></li>
<li><a href= "#" > Product 2</a></li>
</ul>
</li>
</ul>
<form class= "Navbar-form navbar-left" >
<div class= "Form-group" >
<input type= "text" class= "Form-control" name= "q" placeholder= "Please enter the keyword"/>
</div>
<button type= "Submit" class= "btn Btn-default" > Search </button>
</form>
<ul class= "nav navbar-nav navbar-right" >
<li><a href= "#" ><span class= "Glyphicon glyphicon-user" ></span> registration </a></li>
<li><a href= "#" ><span class= "Glyphicon glyphicon-log-in" ></span> login </a></li>
</ul>
</div>
</div>
</nav>
<div class= "Jumbotron masthead Bg-info" >
<div class= "Cotainer text-center" >
&LT;H1 style= "color:white;font-size:80px" > Welcome to XXX Company

<br/><br/>

            <button type= "button" class= "btn btn-default btn-primary btn-lg" > Click to download xxx</button> <br/>      

</body>

Results show:

Bootstrap do a simple website homepage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.