Posts

Showing posts from October, 2016
Bootstrap form validation The HTML :   <form class="form-horizontal" action=" " method="post"  id="reg_form">     <fieldset>             <!-- Form Name -->       <legend> Personal Information </legend>           <!-- Text input-->             <div class="form-group">         <label class="col-md-4 control-label">First Name</label>         <div class="col-md-6  inputGroupContainer">           <div class="input-group"> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>             <input  name="first_name" placeholder="First Name" class="form-control"  type="text">           </div>      ...
Image
Interview Question answer of front-en-developer.  Difference between visibility:hidden and display:none? display:none  means that the tag in question will not appear on the page at all. There will be no space allocated for it between the other tags. visibility:hidden  means that unlike  display:none , the tag is not visible, but space is allocated for it on the page. it just isn't seen on the page. Difference between display inline, inline-block, and block? display:inline   can not  have a  height  or a  width  or a vertical  margin. display:block  means the element will occupy 100% width, and will start from a new line. display:inline-block  means the element will be inline (does not start from a new line) and will stretch to occupy width of content. Refer  Code  link :  http://jsfiddle.net/Mta2b/ Note:- Block element have 100% width means by default using display...