Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which attribute is used in <img> tag for the address of the image?
href src rel
<img src="http://coursesweb.net/imgs/webcourses.gif" width="191" height="63" alt="Courses-Web" />
Which CSS code hides the element on page?
display: none; display: inline; position: relative;
#id {
  display: none;
}
What instruction stops the execution of a while() or for() statement?
continue prompt() break
for(var i = 0; i< 8; i++) {
  if(i > 1) break;
  alert(i);
}
Indicate the function that can create a constant.
define() include() defined()
define("CONSTANT_NAME", "value");
echo CONSTANT_NAME;

Last accessed pages

  1. JQZoom Image Magnifier (5206)
  2. Ajax-PHP Rating Stars Script (7811)
  3. Multiple Select Dropdown List with AJAX (9861)
  4. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (31713)
  5. Area and Perimeter Calculator for 2D shapes (3462)

Top accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (31713)
  2. PHP-MySQL free course, online tutorials PHP MySQL code (25881)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (24829)
  4. Read Excel file data in PHP - PhpExcelReader (23989)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (21635)