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. Image object (55)
  2. JavaScript - Register event handlers and Detect events (162)
  3. Convert BBCode to HTML and HTML to BBCode with JavaScript (168)
  4. JavaScript Events (116)
  5. Buttons, Checkbox, Radio, Select, Option objects (139)

Top accessed pages

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