Monday, 8 April 2013

Amazing HTML5 tags

Auto Complete Feature:

The <datalist> tag is used to provide an "autocomplete" feature on <input> elements. Users will see a drop-down list of pre-defined options as they input data.

Example code:


<form action="demo_form.asp" method="get">
<input list="browsers" name="browser">
<datalist id="browsers">
  <option value="Internet Explorer">
  <option value="Firefox">
  <option value="Chrome">
  <option value="Opera">
  <option value="Safari">
</datalist>
<input type="submit">
</form>

For Calculation:

The <output> tag represents the result of a calculation (like one performed by a script).

Example code:


<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
<input type="range" id="a" value="50">100
+<input type="number" id="b" value="50">
=<output name="x" for="a b"></output>
</form>

DBT - Models

Models are where your developers spend most of their time within a dbt environment. Models are primarily written as a select statement and ...