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. Common PHP Errors and Solutions (569)
  2. Forms and Input (390)
  3. Multiple Select Dropdown List with AJAX (1714)
  4. Rotate HTML objects, Div, Span, images with jQuery (515)
  5. PHP DateTime and DateTimeZone classes (92)

Top accessed pages

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