Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
What attribute makes an option from <select> selected?
checked="checked" selected="selected" disabled="disabled"
<select name="a_name">
 <option value="val1">Option 1</option>
 <option value="val2" selected="selected">Option 2</option>
</select>
What CSS value allows to create color gradients for background?
contain repeat-x linear-gradient
#id {
  background: linear-gradient(top left, #1f1, #fff, #11f);
}
What statement creates an array in JavaScript?
[] {} new Object()
var arr = [1, "CoursesWeb.net", "MarPlo.net"];
alert(arr[2]);
Indicate the PHP function used to redirect to other page.
function() header() switch()
header("Location: http://coursesweb.net/");
exit;

Last accessed pages

  1. Basic HTML elements (425)
  2. Rotate HTML objects, Div, Span, images with jQuery (870)
  3. Adding images (103)
  4. XML sitemap with data from MySQL (229)
  5. Multiple Select Dropdown List with AJAX (2811)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (5476)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (5280)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (5079)
  4. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (4862)
  5. PHP Chat Script (4624)