In case you want to have a default text as a sort of placeholder/hint but not considered a valid value (something like "complete here", "select your nation" etc.) you can do something like this:
<select>
<option selected disabled>Choose here</option> <option value="1">One</option> <option value="2">Two</option> <option value="3">Three</option> <option value="4">Four</option> <option value="5">Five</option></select>
https://github.com/kolodny/httpies
https://habrahabr.ru/company/it-grad/blog/275673/
http://eloquentjavascript.net/13_dom.html
http://prettydiff.com/guide/unrelated_dom.xhtml
https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model
http://youmightnotneedjquery.com/
https://plainjs.com/javascript/
https://www.liveedu.tv/elijahwass99/videos/REABM-html5-coding-a-modern-website-4
https://internetingishard.com/html-and-css/
Passing JSON or CSV to Browser from Server
A MIME type is used so software ( like a browser for example ) can know how to handle the data.
If a server says "This data is of type text/csv" the client can understand that can render that data internally, while if the server says "This data is of type application/csv" the client knows that it needs to launch the application that is registered on the OS to open csv files.
text/csv is more generic
CSS
https://hacks.mozilla.org/2016/05/css-coding-techniques/
https://habrahabr.ru/post/315256/
https://medium.freecodecamp.com/from-zero-to-front-end-hero-part-1-7d4f7f0bff02#.l93bysq5p
https://news.ycombinator.com/item?id=11749009
CSS variables
http://prgssr.ru/development/peremennye-osnova-arhitektury-css.html
Horizontal list
http://stackoverflow.com/questions/9536617/horizontal-lists-in-css
Pagination
https://gist.github.com/mislav/622561
https://news.ycombinator.com/item?id=11016190
http://stackoverflow.com/questions/14023115/dropdown-menu-not-showing-in-bootstrap
on load event
<html>
<head>
<script>
function foo(){ alert("window on load") }
window.onload = foo();
</script>
</head>
<body>
html body content
</body>
</html>
PRINTING customization
http://benfrain.com/create-print-styles-using-css3-media-queries/
Printing in landscape mode
<style media="print" type="text/css">
@page { size: landscape; }
</style>
<style type="text/css" media="print"> @page { size: landscape; margin: 2cm;} </style>
<style type="text/css" media="print">body{ -webkit-transform: rotate(-90deg);-moz-transform:rotate(-90deg);transform:rotate(-90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);}</style>
@media print and (orientation: landscape) { /* landscape styles */}@media print and (orientation: portrait) { /* portrait styles */}
Bootstrap.css has
@media print { ... a[href]:after { content: " (" attr(href) ")"; // content:none removes printing URL } ...}
How to customize HTML for printing using @media print
File: style.css
Hiding element from printing using @media print:
@media screen { .px_length { width: 200px; background-color: red; color: white; border: 1px solid black;} .em_length { width: 20em; background-color: white; color: red; border: 1px solid black;} }
@media print { .px_length { display: none !important;} }
https://news.ycombinator.com/item?id=9373093
https://keen.io/blog/116037858856/using-html5-attributes-to-clean-up-dashboard
Safari does not support datalist - this is a work around
http://leaverou.github.io/awesomplete/
https://github.com/LeaVerou/awesomplete
https://github.com/thgreasi/datalist-polyfill
https://css-tricks.com/relevant-dropdowns-polyfill-for-datalist/
http://www.reddit.com/r/javascript/comments/2yk4r5/select3_v10_released/
http://stackoverflow.com/questions/5271178/list-in-multiple-columns
http://stackoverflow.com/questions/2347060/html-css-how-to-create-multiple-column-list
http://www.w3schools.com/css/css3_multiple_columns.asp
http://csswizardry.com/2010/02/mutiple-column-lists-using-one-ul/
books
http://www.amazon.com/Getting-Started-Bootstrap-Ryan-Flores-ebook/dp/B00J6N75ZA/
http://avaxhm.com/ebooks/programming_development/general/web_development/3166552.html
http://avaxhm.com/ebooks/programming_development/news_igor_42354.html
http://www.amazon.com/Step-Bootstrap-Quick-Responsive-Development/dp/1499655622/
http://www.amazon.com/AngularJS-Questions-Answers-George-Duckett-ebook/dp/B00MV760O0/
http://www.amazon.com/AngularJS-UI-Development-Matthias-Nehlsen/dp/1783288477/
Color
http://www.w3schools.com/html/html_colornames.asp Color Names
https://github.com/mrmrs/colors
http://habrahabr.ru/post/236219/
http://webdesigncube.com/2014/free-online-website-builders/
http://sanusart.github.io/html-now/
http://www.angularcourse.com/#/videos/8
http://vitalflux.com/angularjs-bootstrap-single-page-app-template-code-sample/
http://css-tricks.com/exposing-form-fields-radio-button-css/
http://www.paulund.co.uk/html5-download-attribute
Modal dialog
http://speckyboy.com/2014/09/29/native-dialog-html5-dialog-windows/
https://github.com/zewish/rmodal.js
http://www.smashingmagazine.com/2014/09/15/making-modal-windows-better-for-everyone/
Bootstrap
http://www.codingdefined.com/p/bootstrap-tutorial.html
http://hackerthemes.com/bootstrap-cheatsheet
http://tutorialzine.com/2013/07/50-must-have-plugins-for-extending-twitter-bootstrap/
http://tutorialzine.com/2015/06/12-time-saving-bootstrap-examples/
http://habrahabr.ru/company/dataart/blog/258301/
http://www.sitepoint.com/understanding-bootstrap-modals/
http://www.webdesignerdepot.com/2014/10/the-ultimate-guide-to-bootstrap/
http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-modals.php
http://www.htmlxprs.com/post/4/using-bootstrap-forms-and-validations-classes-tutorial
http://www.webdesignerdepot.com/2014/10/the-ultimate-guide-to-bootstrap/
http://www.tutorialspark.com/twitterBootstrap/TwitterBootstrap_GridSystem.php
http://www.htmlxprs.com/post/49/playing-with-bootstrap-buttons-tutorial
http://habrahabr.ru/post/202408/
http://habrahabr.ru/post/211032/
http://habrahabr.ru/post/198346/
http://habrahabr.ru/post/187184/
http://habrahabr.ru/post/177769/
<!-- Последний сжатый и скомпилированный CSS --><link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"><!-- Опциональная тема --><link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap-theme.min.css"><!-- Последний сжатый и скомпилированный Javascript --><script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
CSS http://habrahabr.ru/post/235851/
File a.html
<!DOCTYPE html> <html>
<head>
<link rel="stylesheet" href="style.css"/>
</head>
<div class="px_length">PXPXPXP</div> <!-- will not be printed --> <div class="em_length">EMEME</div>
Positioning using CSS
http://www.htmlxprs.com/post/39/position-in-css
http://www.impressivewebs.com/css-positioning-basics-screencast/
http://habrahabr.ru/post/252769/
https://habrahabr.ru/company/netcracker/blog/277433/ vertical alignment
Grid
http://css-live.ru/articles/lakomye-kusochki-grid-rasklaki-chast-2-osnovy-i-terminologiya.html
Splitting HTML page vertically
http://stackoverflow.com/questions/11662536/split-page-vertically-using-css
http://stackoverflow.com/questions/11662536/split-page-vertically-using-css
CENTERING
http://css-live.ru/articles/poseredine-s-elementom-center.html
https://news.ycombinator.com/item?id=9405284
http://css-tricks.com/centering-css-complete-guide/
http://webdesign.tutsplus.com/tutorials/the-holy-grail-of-css-centering--cms-22114
http://css-tricks.com/snippets/css/center-div-with-dynamic-height/
http://codepen.io/shshaw/full/gEiDt
Bootstrap Grid
http://getbootstrap.com/examples/grid/
http://www.helloerik.com/bootstrap-3-grid-introduction
http://www.tutorialspark.com/twitterBootstrap/TwitterBootstrap_GridSystem.php
http://www.victorshi.com/blog/post/How-to-make-a-div-center-in-Bootstrap3
http://colintoh.com/blog/display-table-anti-hero another grid
http://habrahabr.ru/post/241844/ Advanced grid
http://habrahabr.ru/post/244207/ Table CSS
table.center { width:70%; margin-left:15%; margin-right:15%; }
And this in your HTML:
<table class="center"> ... </table>
<div class="input-group input-group-lg">
<span class="input-group-addon">
<span class="glyphicon glyphicon-envelope"></span>
</span>
<input class="form-control" type="text" placeholder="Email address">
</div>
<div class="input-group input-group-lg">
<span class="input-group-addon">
<span class="glyphicon glyphicon-lock"></span>
</span>
<input class="form-control" type="password" placeholder="Password">
</div>
BOOTSTRAP
http://www.w3schools.com/html/html_colornames.asp Color Names
http://colorfullyme.github.io/BThemer/
http://stackoverflow.com/questions/23977404/two-side-by-side-tables-in-bootstrap
http://stackoverflow.com/questions/11690223/html-two-tables-side-by-side
http://www.wikihow.com/Polish-the-Table-for-Your-Website-in-HTML
http://www.datatables.net/examples/styling/bootstrap.html
http://tutorialzine.com/2013/07/50-must-have-plugins-for-extending-twitter-bootstrap/
http://www.sitepoint.com/create-invoice-twitter-bootstrap-part-2/
http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-forms.php FORMS
http://getbootstrap.com/getting-started/
http://getbootstrap.com/javascript/
http://scotch.io/bar-talk/bootstrap-3-tips-and-tricks-you-might-not-know
https://news.ycombinator.com/item?id=7715334
https://github.com/twbs/bootstrap/
http://www.helloerik.com/bootstrap-3-grid-introduction
http://blog.shinetech.com/2012/03/07/bootstrap-makes-me-look-good/
http://www.tutorialspoint.com/bootstrap/bootstrap_buttons.htm
http://stackoverflow.com/questions/18245575/bootstrap-3-unable-to-display-glyphicon-properly
http://www.w3resource.com/twitter-bootstrap/navbar-example.html
http://www.technicalkeeda.com/bootstrap/navbar-search-icon-example
http://stackoverflow.com/questions/18529274/change-navbar-color-in-twitter-bootstrap-3
http://www.ibm.com/developerworks/opensource/library/wa-bootstrap/index.html
http://twitter.github.com/bootstrap/
Сравнение классов для построения сетки
Bootstrap
.container
.container-fluid
.row
.col-xs-#
.col-sm-#
.col-md-#
.col-lg-#
.col-xs-offset-#
.col-sm-offset-#
.col-md-offset-#
.col-lg-offset-#
Foundation
.row
.columns
.small-#
.medium-#
.large-#
.small-offset-#
.medium-offset-#
.large-offset-#