mirror of
https://github.com/wahyd4/bootstrap.git
synced 2026-08-25 04:35:55 +10:00
type=text/javascript for <script> elements and type=text/css for <link rel=stylesheet> (or <style>) is redundant. See http://mathiasbynens.be/notes/html5-levels#level-1
This commit is contained in:
+10
-10
@@ -5,13 +5,13 @@
|
||||
<title>Twitter Bootstrap</title>
|
||||
|
||||
<!-- Le styles -->
|
||||
<link href="assets/css/bootstrap-1.0.0.css" rel="stylesheet" type="text/css">
|
||||
<link href="assets/css/docs.css" rel="stylesheet" type="text/css">
|
||||
<link href="assets/css/bootstrap-1.0.0.css" rel="stylesheet">
|
||||
<link href="assets/css/docs.css" rel="stylesheet">
|
||||
|
||||
<!-- Le javascript -->
|
||||
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
|
||||
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
|
||||
<link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet" type="text/css">
|
||||
<link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
|
||||
<script src="assets/js/google-code-prettify/prettify.js"></script>
|
||||
<script src="assets/js/application.js"></script>
|
||||
</head>
|
||||
@@ -58,14 +58,14 @@
|
||||
<h6>Hotlink the CSS</h6>
|
||||
<p>For the quickest and easiest start, just copy this snippet into your webpage.</p>
|
||||
<form>
|
||||
<textarea class="copy-code" rows="1"><link type="text/css" rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.0.0.min.css"></textarea>
|
||||
<textarea class="copy-code" rows="1"><link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.0.0.min.css"></textarea>
|
||||
</form>
|
||||
</div>
|
||||
<div class="span5 columns">
|
||||
<h6>Use it with LESS</h6>
|
||||
<p>A fan of using LESS.js? No problem, just clone the repo and add these lines:</p>
|
||||
<form>
|
||||
<textarea class="copy-code" rows="2"><link rel="stylesheet/less" type="text/css" href="/path/to/bootstrap.less">
|
||||
<textarea class="copy-code" rows="2"><link rel="stylesheet/less" href="/path/to/bootstrap.less">
|
||||
<script src="/path/to/less.js"></script></textarea>
|
||||
</form>
|
||||
</div>
|
||||
@@ -533,8 +533,8 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<pre class="prettyprint linenums">
|
||||
<script type="text/javascript" src="js/jquery/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
<script src="js/jquery/jquery.tablesorter.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("table#sortTableExample").tablesorter( {sortList: [[1,0]]} );
|
||||
});
|
||||
@@ -1156,8 +1156,8 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
|
||||
<h2>How to use it</h2>
|
||||
<p>Use this option to make full use of Bootstrap's LESS variables, mixins, and nesting in CSS via javascript in your browser.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<link rel="stylesheet/less" type="text/css" href="less/bootstrap.less" media="all" />
|
||||
<script type="text/javascript" src="js/less-1.0.41.min.js"></script></pre>
|
||||
<link rel="stylesheet/less" href="less/bootstrap.less" />
|
||||
<script src="js/less-1.0.41.min.js"></script></pre>
|
||||
<p>Not feeling the .js solution? <a href="http://incident57.com/less" target="_blank">Try the LESS Mac app</a> or <a href="http://lesscss.org/#-client-side-usage" target="_blank">use Node.js</a> to compile when you deploy your code.</p>
|
||||
|
||||
<h2>What's included</h2>
|
||||
@@ -1312,4 +1312,4 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user